docker compose删除孤立的服务

docker compose删除孤立的服务

WARNING: Found orphan containers (xxxx) 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.
docker-compose -f xxxx.yaml -p xxxx up -d --remove-orphans
Removing orphan container "xxxx"

转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 wind.kaisa@gmail.com

💰

×

Help us with donation