Message boards : Questions and problems : Running boinc on Vast.AI using boinc client docker.
Message board moderation
Author | Message |
---|---|
Send message Joined: 5 Sep 17 Posts: 10 ![]() |
Hello. Attempting to run boinc from https://github.com/BOINC/boinc-client-docker using boinc/client:nvidia over at vast.AI. I'm very much an amature linux user, and so I was hoping to just get it running enough so I could remotely control it via the gui here at home. Maybe I'm in over my head, but attempting this with ssh got me thoroughly confused as there is apparently a run script that must be used according to the GitHub website. However I wasn't sure where this went, unless I should select pass arguments to docker? Regardless, it seemed to dump the entire boinc directory into the root folder. I'm not sure how to go about running boinc. Running boinccmd --get_state did not output a single thing and I believe port 31416 is not allowing me access remotely, as attempting to set up an rpc password, use curl to get the public IP of the server, and restart boinc (the only way I know how is: /etc/init.d/boinc-client restart did not get me access remotely. I also had to create a remote_hosts.cfg file in the boinc (that is to say home) directory. I also tried stopping the instance entirely and starting it again which, according to vast, should be exactly like a restart. Maybe boinc doesn't start on boot? Has anyone done this successfully and if so, how did you go about it? I figured for the 9 cents for the hour I spent I might learn something. I was really hoping this might work. I also tried installing the Ubuntu docker image, but apparently boinc doesn't recognize that there is a gpu installed via that method, and according to vast.AI the drivers are preinstalled already. It's been quite a while since I ran boinc to begin with, so it's probably user error on both parts. Any help appreciated. |
Send message Joined: 1 Jul 16 Posts: 146 ![]() |
BOINC should be in a Ubuntu repository. The BOINC manager should also install as well giving you a GUI. The last time installed BOINC from the default repository it came installed BOINC v7.9.3. This should start the client from terminal. "/etc/init.d/boinc-client start" I start/restart clients this way. The data directory for Ubuntu should be /var/lib/boinc-client unless changed. remote_hosts.cfg should be saved there. I believe the docker is an interface between science exe files and BOINC giving it check pointing and other BOINC functions vs integrating science and BOINC functions into one exe. |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.