Skip to content

andylee-24/Docker_Server_Setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published