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
Cannot start container: [0] Id already in use #20570
Comments
please append all you |
Hm, looks like this #11432, which (IIUC) can be the result of the container-state being out of sync with the actual state |
I have same issue.
|
I believe |
I'm seeing this same issue: ubuntu@ip-10-0-1-10:/var/www/numetric/deploy$ docker --version ubuntu@ip-10-0-1-10:/var/www/numetric/deploy$ sudo docker start 95983f0887dc ubuntu@ip-10-0-1-10:/var/www/numetric/deploy$ sudo docker ps -a |
I got same issue
Error:
The following is some info, server is Ubuntu14.04:
|
This will probably be resolved with the containerd integration in Docker 1.11. I'll leave this open for now, because it's not an error that occurs frequently, and is hard to reproduce, but if anyone still sees it with 1.11 (once released) please reply, otherwise I'll close this after some time (after 1.11) |
I get the exact same issue. Is there a way to work around this ? Like doing some manual cleaning or remove some lock files ? Because until this bug is resolved, how do I restart my container ?
|
Just found a manual workaround, all it needs is to delete the following directory:
|
For me, restarting the machine solved the problem |
Closing this since this is not a valid error since at least 1.11... I think it may even be cleared up by 1.10... but definitely at least 1.11. Docker does not itself execute containers anymore since 1.11 and relies on If you run into more issues, please open a new one. Thanks! |
without upgrading, is there a way to recover the container? |
I just had this issue on 1.13.1 immediately after upgrading, I can't start some (not all) of my containers. A reboot of Ubuntu fixed it. |
@TroelsL Please open a new issue with as much detail as you can provide. |
Error response from daemon: id already in use i had the same problem, 1.update the docker for mac from Docker version 18.02.0-ce to Docker version 18.03.0-ce for example: docker start [container_name] good luck to you |
i got that problem also, and my solution is very simple |
Have the same issue
I had daily reboots enabled on one of my webservers (Ubuntu 18.04.1). On SOME boots, the containers are not startet. Previous log entries:
At time of the log entries NO containers were up... |
Thanks! That worked for me! |
Same issue here
but start working after the server restart .. but this is the second time we are experiencing thishere is the info
|
Restarting docker service and then restarting containers solved the |
We're experiencing this issue where we need to rm the We do not have a reliable way to repro this behavior, but it does happen very often in our rather large environment (more than 30 impacted containers out of 900+). Restarting
|
In my case it was connected to permissions I'm sure - I suspect that maybe container were started with root, so I couldn't restart them as a normal user. After stopping them from root I could normally start it from regular user. |
It works! Save my day! |
Can't start existing docker container with mongodb.
docker ps -a
shows that this container exists:6d33bbf4bce9 mongo:latest "/entrypoint.sh mongo" 47 minutes ago Exited (-1) 22 minutes ago hotels-mongo
And when i start it with
docker start hotels-mongo
, this exception throws:Error response from daemon: Cannot start container hotels-mongo: [0] Id already in use: Container with id exists: 6d33bbf4bce902279721419a062bcd7d2ddcffdd8ef13d70bcd5e7ae71cf5c10
Error: failed to start containers: [hotels-mongo]
Also can't start through kitematic.
This container worked for 2-4 weeks and now it doesn't.
Docker version:
Client:
Version: 1.8.3
API version: 1.20
Server:
Version: 1.9.1
API version: 1.21
The text was updated successfully, but these errors were encountered: