-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Container with name conflict not shown by docker ps -a #21412
Comments
Could you show your both |
docker ps
docker ps -a
I went to /var/lib/docker/containers on all nodes in the cluster and all containers shown by |
hi, are you able to run other containers ? like |
@HackToday Yes no problem running a new container on the swarm cluster. This issue is a duplicate of #15311. |
@robvelor looks similar indeed; let me close this one, to keep the discussion in a single place. But feel free to comment here after I've closed |
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. |
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
AWS EC2 instances created with docker-machine
Steps to reproduce the issue:
Describe the results you received:
Conflict: The name [container_name_1] is already assigned. You have to delete (or rename) that container to be able to assign [container_name_1] to a container again.
Describe the results you expected:
Container should be created.
docker ps -a
does not reveal the existence of a container named[container_name_1]
.Additional information you deem important (e.g. issue happens only occasionally):
Started happening consistently after calling
docker-compose down
and the decompose failed to stop and remove the [container_name_1] container. There was no error decomposing but thedone
message when stopping and removing was never shown. After that docker-compose up fails with the message above.Perhaps this should go on compose or swarm projects, not sure yet, but as
docker ps -a
does not reveal the container holding the name I am filing this here. Please advice accordingly.The text was updated successfully, but these errors were encountered: