Message boards : Cafe Rosetta : How to run BOINC in Docker?
Author | Message |
---|---|
Andrew Pennebaker Send message Joined: 23 Mar 20 Posts: 18 Credit: 128,727 RAC: 0 |
I see the official BOINC images on Docker Hub, but I am a bit confused on how to run these. I was expecting more of an all-in-one image with BOINC username/password environment variables. Is there are a complete docker-compose.yml example with all the necessary components? Could we publish an all-in-one image for ease of use by Kubernetes admins? |
Mod.Sense Volunteer moderator Send message Joined: 22 Aug 06 Posts: 4018 Credit: 0 RAC: 0 |
I am not familiar with the Docker Hub. But I see from the BOINC wiki that they have a version of the BOINC server image available. The BOINC server is the side of things that runs at BakerLab and serves out the work units to @home participants. So that is not what you want. You would want the BOINC Manager and BOINC client. The BOINC Manager can run elsewhere and attach to the client running in the docker (if that is how one would word that). Rosetta Moderator: Mod.Sense |
mattekure Send message Joined: 14 Mar 20 Posts: 1 Credit: 820,323 RAC: 0 |
There was a post recently over on the Unraid forums about how to set it up as a docker under Unraid. It should be fairly close to any other basic docker setup. Here are there instructions. https://unraid.net/blog/help-take-the-fight-to-covid-19-with-boinc-or-folding-home Essentially, the process involves installing the BOINC manager client and switch over to advanced view from a PC you will use to manage BOINC. Set up the docker with the password passed into the BOINC_GUI_RPC_PASSWORD section. Then back in the BOINC manager, do a File->Select Computer and point it to your docker hosts IP address using the password you set in the docker. |
Kingneutron Send message Joined: 25 Mar 20 Posts: 1 Credit: 118,416 RAC: 62 |
It would be wonderful if someone could put together a complete HOWTO with screenshots for n00bs and Docker beginners... Especially since the Linux client isn't statically linked and has dependency issues depending on distro... |
ForestryAI.ca Send message Joined: 29 Mar 20 Posts: 1 Credit: 1,967,323 RAC: 0 |
https://hub.docker.com/r/boinc/client |
Hiperion Send message Joined: 10 May 20 Posts: 1 Credit: 7,047 RAC: 0 |
It would be wonderful if someone could put together a complete HOWTO with screenshots for n00bs and Docker beginners... Hello, You just need to use any docker-compose like this one from the boinc/client repository. If you don't have docker-compose installed just follow this guide: https://docs.docker.com/compose/install/#install-compose-on-linux-systems docker-compose.yml for non swarm nodes version: '2' services: boinc: image: boinc/client container_name: boinc restart: always network_mode: host pid: host volumes: - /opt/appdata/boinc:/var/lib/boinc environment: - BOINC_GUI_RPC_PASSWORD=123 - BOINC_CMD_LINE_OPTIONS=--allow_remote_gui_rpc docker-compose.yml for swarm node version: '3.2' services: main: image: boinc/client ports: - 31416:31416 volumes: - /mnt/storage/docker/boinc:/var/lib/boinc environment: - BOINC_GUI_RPC_PASSWORD=123 - BOINC_CMD_LINE_OPTIONS=--allow_remote_gui_rpc deploy: mode: replicated replicas: 1 placement: constraints: [node.role == manager] Im using an own build image because that one isn't working for me, but try with that one first. If u have any question just let me know |
Message boards :
Cafe Rosetta :
How to run BOINC in Docker?
©2024 University of Washington
https://www.bakerlab.org