New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get "409 Conflict" but container not present #15311
Comments
weirdly, the |
I've found that swarm won't allow two containers with the same name even when on different nodes. |
Also, this is likely a swarm issue. |
@cpuguy83 thanks. Logged it in Engine since it appeared to come from there. I'll see if I can repo based on your info and open a Swarm issue (if there is not one already). |
@alvinr Any news? |
I need to re-run after the latest vendored in lib network - just to remove the possibility of a cascading issues. It does feel like there is some cached state being retained somewhere that is causing the root issue. |
Same for me, i tried to bake AMI with saved statement of docker-compose containers.
Then i baked Amazon AMI, used this AMI in my CloudFormation script to speed up creation of my services. But some containers can't start:
or
But there is no container with ID - a72d2ddc9107c1066cf35c95e4fd45031be682fdd51df14ab1bbf26bd5953515 As @alvinr described, "service docker restart" helped me too.
Docker:
|
Restarting the daemon seems to fix the issue. In my case I restarted the daemon on all the machines in the cluster. I will report back if I encounter this issue again. |
Problem
Using compose to deploy containers into a swarm cluster on EC2 I got the following
However, trying to remove the container failed with
There does not appear to be a running container
The logs of the daemon report the saem 409 error
Workaround
Restarting the Engine seems to clear the problem, which seems to indicate that some state is getting reset.
Environment
The text was updated successfully, but these errors were encountered: