Remove container on shutdown
unixfox opened this issue · 1 comments
unixfox commented
When I deploy a new configuration for the service swarm-launcher
with a container name (env LAUNCH_CONTAINER_NAME
) the container doesn't get removed when swarm-launcher
gets redeployed.
docker: Error response from daemon: Conflict. The container name "/container" is already in use by container "d1e7c524b78183c17d62bbe82bce73490c881b9132c9f455c0ef5934e734a6f7". You have to remove (or rename) that container to be able to reuse that name.