So, I got the answer. The main thing is that Docker on Mac is still running inside the VM . Thus, the system paths still refer to the VM, not your Mac. All containers are stored in the VM and located in ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2
To enter virtual machine use:
screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
Then you can see the contents of the source folder specified in docker inspect {container_id}
:
ls /var/lib/docker/volumes/test_db_data/_data
Maxim source share