- Install Docker
- Install nvidia drivers and nvidia-container-toolkit
- Reboot the server to initialize GPU drivers
- Pull or build the docker image from the Dockerfile:
docker build -t [TagName] -f [MyDockerFile] .
Or you can run the scriptstart_single_server_lim_disk.sh
- Ensure the disk is formatted as 'xfs' to enforce quota limits. For more details, refer to the Docker documentation.
- To access the container using ssh:
ssh [username]@[ip] -p [port_number]
- Or you can attach the container using:
docker attach [container_name]
PressCtrl+P
Ctrl+Q
to detatch the container.Ctrl+D
, will shutdown the container.
- Limit the disk R/W rate per container
- Show available disk / ram during making a container