Site Tools


compute_docker

Using Docker on dedicated Docker nodes

The nodes docker[01-03] allow all users to instantiate a docker container via the sudo command. Users can directly ssh into the docker nodes from the portal cluster, then execute sudo /usr/bin/docker to elevate their privileges and execute docker without the need for 'root' privileges. For example:

abc1de@portal01$ ssh docker01

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.

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: 2023/09/19 18:23 by 127.0.0.1