MAC OS cannot find docker daemon configuration file

  docker, question

MAC OS(10.13.6) cannot find Docker daemon configuration file
Locate the docker installation file using docker info at: /var/lib/docker
图片描述

However, the configuration file could not be found.
图片描述

This path is actually inside the virtual machine, not under the Mac directory. If you want to see it, you need to perform:

screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty

Then it will enter the virtual machine terminal and press a few more carriage returns to execute the normal command. You will see that all your containers and mirrors are already inside.