Container which runs the boinc_client with the ability to have persistent data.
2.4K
https://hub.docker.com/r/boinc/client
This container will run the boinc_client. It is built so that you can host all the project data external to the container, allowing you run the client on a host and have persistant data.
Before running the container, you'll need to have the following directories predefined on the container host:
boinc
It will also need to be owned or read/writable by the user/group root as the boinc_client runs as root in the container. The boinc directory will hold all of your boinc data and make persistant. I used:
/data/boinc
for the instructions below. Just make sure you create it prior to starting the container.
docker run --name=boinc -h HOSTNAME -p 31416 -v /data/boinc:/var/lib/boinc-client bcleonard/boinc
Please see the Notes/Caveats/Issues below for more information.
As I said before, /data/boinc will hold all of your project data. You can prepopulate any files you need or let the client initialize it for you. You will need to configure the boinc_client before it can do any actual work. I recommend running the following:
docker exec boinc boinccmd --join_acct_mgr URL name passwd
which will attach the client to an account manager. This should initialize the client so it starts doing work.
For example, to link the container to boincstats:
docker exec boinc boinccmd --join_acct_mgr http://bam.boincstats.com <username> <password>
Since docker now has the exec command, you can now run commands inside the container. For this container, you can run the boinccmd and use it to configure the boinc_client. The following syntax works:
decker exec boinc boinccmd <boinccmd arguements>
Running the above command without any boinccmd arguements will show you what arguments you can use. For example, to get the state of the boinc client:
docker exec boinc boinccmd --get_state
Content type
Image
Digest
Size
138 MB
Last updated
over 6 years ago
docker pull bcleonard/boinc