Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.26 KB

README.md

File metadata and controls

26 lines (23 loc) · 1.26 KB

Docker Server Setup

Setting up docker environment

  1. Install Docker
  2. Install nvidia drivers and nvidia-container-toolkit
  3. Reboot the server to initialize GPU drivers
  4. Pull or build the docker image from the Dockerfile:
    docker build -t [TagName] -f [MyDockerFile] .
    Or you can run the script start_single_server_lim_disk.sh
  • Ensure the disk is formatted as 'xfs' to enforce quota limits. For more details, refer to the Docker documentation.

How to access and attach the container

  • To access the container using ssh:
    ssh [username]@[ip] -p [port_number]
  • Or you can attach the container using:
    docker attach [container_name]
    Press Ctrl+P Ctrl+Q to detatch the container. Ctrl+D, will shutdown the container.

TODO

  • Limit the disk R/W rate per container
  • Show available disk / ram during making a container

Special Thanks to...

Jaehyun-Ko
mirageoasis
Dongjun Hwang
myeee