Setting up a Docker Swarm with GPUs Installing Docker Official instructions. Add yourself to the docker group to be able to run containers as non-root (see Post-install steps for Linux).