moby: Cannot start some containers after restarting docker daemon
I had 4 containers running and when trying to start another one I hit #6476. So I restarted docker daemon, it failed to stop, but started successfuly…
$ /etc/init.d/docker restart
Stopping docker: [FAILED]
Starting docker: [ OK ]
After this I found that only 1 of my 4 containers were running. Now when I try to start any of the remaining 3 containers I’m getting the following error:
$ docker start gitorious-memcached
Error: Cannot start container gitorious-memcached: Error getting container 5e30d6df89b1a96aeb749b6007754cbf47aea9f075f1185321ae6d8d8ba6dbab from driver devicemapper: Error mounting '/dev/mapper/docker-253:0-3608-5e30d6df89b1a96aeb749b6007754cbf47aea9f075f1185321ae6d8d8ba6dbab' on '/var/lib/docker/devicemapper/mnt/5e30d6df89b1a96aeb749b6007754cbf47aea9f075f1185321ae6d8d8ba6dbab': device or resource busy
2014/06/25 13:39:02 Error: failed to start one or more containers
I restarted the daemon several more times but it still can’t start these containers.
I’m running Docker 1.0.0 on Centos 6.5.
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 38 (7 by maintainers)
I’m having this issue on Docker version 1.11.1, build 5604cbe
There seems to have happend a docker deamon crash/restart since all my containers are:
Up 14 hours
Just had it happen to me, running F21, kernel 3.18.3-201, docker 1.4.1.
Container was a centos 6 image with Java running in it.
I had previously run:
Running:
Seems to have let me start the container again.
I have got a comparable issue with ubunut 14.04. Only i just restart docker with:
After this my containers are not runner, so i tried to start the containers but i get this error:
So its look likes it running. Also when i start a new elasticsearch container i see the containers that are stop in the cluster and active. Also i can ping the containers that are not showing up in “docker ps”
Docker info
Docker version