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. Register 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
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 a runner. Give your runner a name and, optionlly, a description to remind you which machine the runner is.
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
Follow these steps to run on your machine’s GPUs.