Symptom:
If we want to access the volume location on the host machine, we normally inspect the volume to get the location on the host machine:
$ docker volume inspect todo-db|grep Mountpoint
"Mountpoint": "/var/lib/docker/volumes/todo-db/_data",
For Linux host machine, it is straightforward.
But for Mac, the Docker commands are running inside a small VM. So we normally use below command to login Docker's VM on Mac firstly:
screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
However in latest Docker Desktop for Mac version, "tty" does not exist so it will fail to login.
Env:
Docker Desktop for Mac 20.10.3
MacOS Catalina