Set up your local computer or server as a runner
You can use your local computer or server as a runner if it runs one of the following operating systems:
- Ubuntu 16.04 or later
Follow these steps to run on your machine’s CPUs.
Set up your computer as a runner: 1. Create a free account at cloud.dotscience.com with a username and password.
- Install Docker on the computer that you want to use as the runner. For this, we refer you to the following Docker installation guides: Install Docker on a Mac
Or, use the installation script provided by docker.com
curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh
When installation is complete, verify that Docker is installed and running by entering
Go to the Runners page on Dotscience https://cloud.dotscience.com/runners/. Click Add your own runner. Select the Runner type, Storage space and Units that are most appropriate to your machine. Give the runner a name, and click Continue.
Copy the code snippet from the Runners page. Your snippet will have the following form, but note that your
docker pull quay.io/dotmesh/dotscience-runner:latest && \ docker run --name dotscience-runner -d -e TOKEN=C2B3KKP5CTVUDTJW6FQJ6DIA5E3LXTIKVOSQPM4LEMFH2NFH6XYA==== \ --restart always -v /var/run/docker.sock:/var/run/docker.sock \ -v dotscience-task-spool:/spool \ quay.io/dotmesh/dotscience-runner:latest
- Verify that the Docker container that Dotscience needs is running. Run
docker psto see which containers are running. You should see that under
CONTAINERSthere is a container called
dotscience-runnerwhose status is
See the section on exposing GPU’s on your runner for more information on this.