suchen

Heim  >  Fragen und Antworten  >  Hauptteil

docker-compose启动一个容器的时候报WARNING: Found orphan containers

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两个容器,可是相互是独立的,也好好的正常运行着,不知道为什么会提示这个

为情所困为情所困2770 Tage vor4214

Antworte allen(1)Ich werde antworten

  • 伊谢尔伦

    伊谢尔伦2017-04-25 09:04:17

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

    Antwort
    0
  • StornierenAntwort