yangzailu

导航

showdoc 重启和启动命令

showdoc 重启和启动命令:

showdoc 启动命令:
docker run -d --name showdoc -p 8080:80 -v /showdoc_data/html:/var/www/html/ star7th/showdoc 


问题解决:
docker: Error response from daemon: Conflict. The container name "/showdoc" is already in use by container "78d62251eae09e8e548df80fb34c07061008c85f551083d494502c8b8a0fe96a". You have to remove (or rename) that container to be able to reuse that name.

查询当前容器:docker container ls -all

删除当前容器:
docker container rm showdoc

停止docker:
sudo systemctl stop docker 

启动docker:
sudo systemctl start docker 

 

posted on 2022-09-01 17:38  飞离地平线  阅读(568)  评论(0编辑  收藏  举报