docker-compose启动一个容器的时候报WARNING: Found orphan containers
为情所困
为情所困 2017-04-25 09:02:17
0
1
4196

WARNING: Found orphan containers (new, mysql) 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.

我的确有new和mysql两个容器,可是相互是独立的,也好好的正常运行着,不知道为什么会提示这个

为情所困
为情所困

Antworte allen(1)
伊谢尔伦

你写了docker-compose.yml,但是其描述的service内没有你的new和mysql,所以docker认为这两个容器是不属于服务的要被清理掉

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage