使用kubekey安装harbor服务,然后因为其他人误操作导致所有docker容器全部退出了,然后在/opt/harbor目录下执行docker-compose up -d也无法启动harbor服务,并报下面异常信息:

WARN[0000] Found orphan containers ([trivy-adapter notary-server notary-signer chartmuseum]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. 
Error response from daemon: No such container: cb693a61d40df8245ac05fb0c7e7a0eb5e32850a7e269c03e795db8776729733
 

 

出现上述问题,笔者最后通过执行

systemctl restart docker

 指令重启docker后,然后再执行下面的指令就把harbor服务启动起来了

docker-compose up -d

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐