删除docker中的镜像文件
本文纯属个人笔记,没有具体的参考价值:1.查看docker中有哪些镜像:docker ps2.要想删除docker中的nginx文件,需要先关闭nginx:1)docker stop nginx2) docker rm nginx3.在docker中重新安装nginx配置:docker run --name nginx \-v /home/TECS/front/conf...
·
本文纯属个人笔记,没有具体的参考价值:
1.查看docker中有哪些镜像:docker ps
2.要想删除docker中的nginx文件,需要先关闭nginx:
1)docker stop nginx
2) docker rm nginx
3.在docker中重新安装nginx配置:
docker run --name nginx \
-v /home/TECS/front/config/nginx.conf:/etc/nginx/nginx.conf:ro \
-v /home/TECS/front/projects/dist:/home/TECS/front/projects/dist \
-v /home/TECS/front/projects/distAdmin:/home/TECS/front/projects/distAdmin \
-v /home/TECS/front/projects/distRedirect:/home/TECS/front/projects/distRedirect \
--restart=always \
-p 80:80 -p 9000:9000 -d nginx:1.13
更多推荐
已为社区贡献1条内容
所有评论(0)