Skip to content

wyg1997/DockerFiles

Repository files navigation

DockerFiles

include

  • git
  • tmux
  • sshd
  • neovimplus
  • zsh & oh-my-zsh
    • zsh-autosuggestions
    • zsh-syntax-highlighting
    • z
    • extractor
  • pyenv & python3.11

Build

docker build --build-arg USER_UID=$(id -u) -t cuda112:1.0 -f ./Dockerfile-cuda112 .
docker build --build-arg USER_UID=$(id -u) -t cuda123:1.0 -f ./Dockerfile-cuda123 .

如果到apt-get update卡住,可能是网络问题,可以使用host模式构建:

docker build --build-arg USER_UID=$(id -u) --network host -t cuda112:1.0 -f ./Dockerfile-cuda112 .
docker build --build-arg USER_UID=$(id -u) --network host -t cuda123:1.0 -f ./Dockerfile-cuda123 .

Run

docker run -it --shm-size=8G -P --privileged --runtime=nvidia -u $(id -u) --name "NAME" -v PATH_LOCAL:/home/ubuntu/PATH_DOCKER DOCKER_IMAGE /bin/zsh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages