There is already a question on Stack Overflow about this but the accepted answer doesn't work anymore.
My Docker Desktop app is using the directory below:
/Users/guilpejon/Library/Containers/com.docker.docker/Data/vms/0/data
And docker info
gives me this:
Docker Root Dir: /mnt/sda1/var/lib/docker
The question is, how do I change the Docker Root Dir
to use the same directory used by the Docker Desktop app?
docker info
directory is inside the VM contained in the first location you show. I suspect on MacOS thedocker info
will always be that exact location, but it's not related to any location on your outer host system.