Using Docker on dedicated Docker node

The node docker01 allows all users to instantiate a docker container via the sudo command. Users can directly ssh into docker01 at docker01.cs.virginia.edu. Users can execute sudo /usr/bin/docker to elevate their privileges and execute docker without the need for 'root' privileges. Fo r example:

abc1de@docker01$ sudo /usr/bin/docker

Using Docker on select SLURM nodes

The nodes slurm[1-5] allow all users to instantiate a docker container via the sudo command. Users can execute sudo /usr/bin/docker to elevate their privileges and execute docker without the need for 'root' privileges. For example:

abc1de@slurm1$ sudo /usr/bin/docker

You must first execute a SLURM job to gain access to the slurm[1-5] nodes, typically by using the Direct Login to servers feature. This doesn't require the use of a job script. For example:

abc1de@portal01$ srun -w slurm1 –pty bash -i -l -

abc1de@slurm1$ sudo /usr/bin/docker

  • compute_docker.txt
  • Last modified: 2021/12/07 18:38
  • (external edit)