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 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