Where is /var/lib/docker on Mac/OS X

docker, docker-for-mac, macos

Solution

See this answer

When using Docker for Mac Application, it appears that the containers are stored within the VM located at:

~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2

Problem

I´m looking for the folder `/var/lib/docker` on my Mac after installing docker for Mac. With `docker info` I get ``` Containers: 5 ... Server Version: 1.12.0-rc4 Storage Driver: aufs Root Dir: /var/lib/docker/aufs Backing Filesystem: extfs Dirs: 339 Dirperm1 Supported: true ... Name: moby ID: LUOU:5UHI:JFNI:OQFT:BLKR:YJIC:HHE5:W4LP:YHVP:TT3V:4CB2:6TUS Docker Root Dir: /var/lib/docker Debug Mode (client): false .... ``` But I don´t have a directory `/var/lib/docker` on my host. I have checked `/Users/myuser/Library/Containers/com.docker.docker/` but couldn´t find anything there. Any idea where it is located?

Original source

Related problems