mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Added docker-compose for AMDGPU-enabled BOINC client
This commit is contained in:
31
docker/boinc-client/amdgpu.docker-compose.yml
Normal file
31
docker/boinc-client/amdgpu.docker-compose.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
# gotchas:
|
||||
# - 'pid: host' allows boinc to determine nonboinc processes for cpu percentages
|
||||
# and exclusive applications
|
||||
# - 'group_add' removed in 3.0
|
||||
# - 'cpus' available from 2.2 and removed in 3.0
|
||||
#
|
||||
# sources:
|
||||
# - https://hub.docker.com/r/boinc/client
|
||||
# - https://docs.docker.com/compose/compose-file/compose-file-v2/
|
||||
|
||||
version: '2.2'
|
||||
services:
|
||||
client:
|
||||
image: boinc/client:amd
|
||||
container_name: boinc-client
|
||||
restart: always
|
||||
network_mode: host
|
||||
pid: host
|
||||
mem_swappiness: 1
|
||||
group_add:
|
||||
- video
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
- /dev/kfd:/dev/kfd
|
||||
volumes:
|
||||
- ./data:/var/lib/boinc
|
||||
environment:
|
||||
- BOINC_CMD_LINE_OPTIONS=--allow_remote_gui_rpc
|
||||
- BOINC_GUI_RPC_PASSWORD=123
|
||||
- BOINC_REMOTE_HOST=192.168.1.1
|
||||
- TZ=Europe/Dublin
|
||||
@@ -1,3 +1,11 @@
|
||||
# gotchas:
|
||||
# - 'pid: host' allows boinc to determine nonboinc processes for cpu percentages
|
||||
# and exclusive applications
|
||||
#
|
||||
# sources:
|
||||
# - https://hub.docker.com/r/boinc/client
|
||||
# - https://docs.docker.com/compose/compose-file/compose-file-v2/
|
||||
|
||||
version: '2'
|
||||
services:
|
||||
client:
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
# Install.
|
||||
flatpak install 'edu.berkeley.BOINC'
|
||||
sudo zypper install 'boinc-client' 'boinc-manager'
|
||||
|
||||
# Set the GUI RPC communications port.
|
||||
boinc --gui_rpc_port 30000
|
||||
```
|
||||
|
||||
## Client management
|
||||
@@ -50,6 +53,7 @@ Oct 09 23:09:40 hostnameHere boinc[1709]: 09-Oct-2022 23:09:40 [---] OpenCL: AMD
|
||||
- [BOINC Manager]
|
||||
- [boinccmd]
|
||||
- [boinctui]
|
||||
- [GUI RPC bind to port 31416 failed: 98]
|
||||
|
||||
<!-- internal references -->
|
||||
[boinccmd]: boinccmd.md
|
||||
@@ -60,3 +64,5 @@ Oct 09 23:09:40 hostnameHere boinc[1709]: 09-Oct-2022 23:09:40 [---] OpenCL: AMD
|
||||
|
||||
[amd linux drivers]: https://www.amd.com/en/support/linux-drivers
|
||||
[radeon™ software for linux® installation]: https://amdgpu-install.readthedocs.io/en/latest/
|
||||
|
||||
[gui rpc bind to port 31416 failed: 98]: https://boinc.mundayweb.com/wiki/index.php?title=GUI_RPC_bind_to_port_31416_failed:_98
|
||||
|
||||
Reference in New Issue
Block a user