0%

常见容器部署命令

自动摘要: nvidiagui镜像部署 ```shell sudodockerrungpusallipc=hostditname=torch_19p9024:2 ……..

nvidia-gui镜像部署

1
sudo docker run --gpus all --ipc=host  -d -it --name=torch_19  -p 9024:22 -p 9078:7860 -v /home/yzy:/yzy  yzy_tooth

jupyter-hub部署

1
nohup sudo /home/up3d/miniconda3/bin/jupyterhub --config=/home/up3d/software/jupyterhub_config.py --no-ssl

next-terminal部署

1
2
cd /home/up3d/software/next-terminal/  
nohup sudo ./next-terminal

nextcloud 部署

1
sudo docker run --restart=always --name nextcloud -p 9003:80 -v /data/nextcloud:/var/www/html/data -d nextcloud 

Gitea部署

1
sudo docker run -d  --restart=always --name=gitea -p 9922:22 -p 80:3000 -v /home/up3d/software/gitea/data:/data gitea/gitea:latest

Portainer部署

1
2
docker run  -d  --restart=always -p 8000:8000 -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v  /home/up3d/software/Portainer/data/:/data -v /home/up3d/software/Portainer/public/:/public portainer

欢迎关注我的其它发布渠道