Open rap2hpoutre opened 7 months ago
Can you share the docker compose file?
@Wowu Thanks for your answer. The repository is open-source, here is the docker compose file: https://github.com/mano-sesan/mano/blob/8e8876f442976eb3ac15775d2e6a94ebe788100a/docker-compose.yml
I think you need to change restart: always
to restart: unless-stopped
, because your containers are restarted when docker-rollout tries to stop them.
restart: unless-stopped
gives you the same auto healing behavior as restart: always
.
I'm also running into this with restart: unless-stopped
when the process dies while running docker rollout.
To replicate:
As this is a rather simple script, I'm not sure whether this is really fixable?
My deploy script (sh file) build three images and rollout:
Sometimes (and I don't know why) there are "remaining" containers after a deployment:
I have no idea why it's happening.