Docker Community Forums

Share and learn in the Docker community.

OSX All Images and Containers Gone

(Jharms) #1

Hi all,

Went to sleep last night with a series of containers running on my Mac. Woke up this morning and all images and containers have literally disappeared!

I have the qcow2 file still but nothing appears in the output of the docker ps -a or docker images command.

Is it possible to recover images/containers from an old time machine backup??

docker info is below:

shell$ docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 17.09.0-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
runc version: 3f2f8b84a77f73d38244dd690525642a72156c64
init version: 949e6fa
Security Options:
Profile: default
Kernel Version: 4.9.49-moby
Operating System: Alpine Linux v3.5
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.952GiB
Name: moby
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 19
Goroutines: 32
System Time: 2017-11-18T08:13:39.155115662Z
EventsListeners: 2
No Proxy: 172.20.,, 10., 172.20., 202.62.254.
Experimental: false
Insecure Registries:
Live Restore Enabled: false

(Sam) #2

ps shows running containers…

what does docker images show?

containers can stop for a number of reasons.

what does docker logs container_id show for the container u described?