Help! I can't get docker to recognize the images and containers it had just a moment ago. After running apt-get update && apt-get dist-upgrade
and rebooting, I see docker reporting no data:
$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
But the data appears to still be there
$ sudo du -hs /var/lib/docker/*
8.0K /var/lib/docker/apparmor
1.9G /var/lib/docker/aufs
136K /var/lib/docker/containers
292M /var/lib/docker/devicemapper
8.0K /var/lib/docker/execdriver
712K /var/lib/docker/graph
17M /var/lib/docker/init
8.0K /var/lib/docker/linkgraph.db
4.0K /var/lib/docker/repositories-aufs
4.0K /var/lib/docker/repositories-devicemapper
4.0K /var/lib/docker/volumes
Could it be looking in the wrong place for it? Is there some config file that specifies the storage location?
Edit: running docker -d -D
reports:
[debug] daemon.go:328 Cannot load container 93092d010a9abe9affc217684782e8b2986e560897eb4527715e9bffe0446136 because it was created with another graph driver.
It seems that you have somehow switched storage backends. You can't use containers created with a different backend.
I had same problem on Windows. I had to go to Docker-->settings-->switch to windows based container. I don't know why but somehow after reboot docker started on Linux based container. so i did not got any image and container after restart.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With