Hi Scott. Great question! I've been asking it myself as well :)
I am using Docker Desktop on Mac, so in my case Docker is using a disk image named Docker.raw located in ~/Library/Containers/com.docker.docker/Data/vms/0. And this is where it stores all containers and images. So, you won't see exact the same structure of folders and files on a host as you see in the container.
Regards,
-Vitaliy
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Scott. Great question! I've been asking it myself as well :)
I am using Docker Desktop on Mac, so in my case Docker is using a disk image named
Docker.raw
located in~/Library/Containers/com.docker.docker/Data/vms/0
. And this is where it stores all containers and images. So, you won't see exact the same structure of folders and files on a host as you see in the container.Regards,
-Vitaliy