How do I prevent swarm containers from becoming orphans upon removing the stack?

后端 未结 0 781
小鲜肉
小鲜肉 2021-01-13 17:21

I run a Docker Swarm instance with the following restart script:

#!/usr/bin/env sh
docker stack rm owlab
sleep 10
docker stack deploy --compose-file ./docker-         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题