How to configure docker for mac in configuration files?

Hi,

Under mac the daemon.json is kinda hidden.

  1. goto ~/Library/Containers/com.docker.docker/Data/database
    there is an .git repository (.git)
  2. reset to HEAD git reset --hard
  3. now you have com.docker.driver.amd64-linux
  4. go into ~/Library/Containers/com.docker.docker/Data/database/com.docker.driver.amd64-linux/etc/docker there is your daemon.json

don’t forget to commit your changes otherwise it might be lost

cheers,

1 Like