Using Docker on dedicated Docker nodes
The nodes docker[01-02]
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
Using Apptainer on dedicated Apptainer nodes
The node apptainer01
allow all users to instantiate an apptainer container via the sudo
command. Users can directly ssh
into the node from the portal cluster, then execute sudo /usr/bin/apptainer
to elevate their privileges and execute apptainer without the need for 'root' privileges. For example:
abc1de@portal01$ ssh apptainer01
abc1de@apptainer01$ sudo /usr/bin/apptainer