If you are using the last docker for mac beta, according to issue 25064:
~/Library/Containers/com.docker.docker/Data/database/com.docker.driver.amd64-linux
is a git database.
Note: if ~/Library/Containers/com.docker.docker/Data/database/
does not contain com.docker.driver.amd64-linux
, go to that database/
folder, and do a git reset --hard
.
The daemon configuration is under etc/docker/daemon.json
, which just uses the config from the Linux configuration file.
You need to change the config and then do a git commit
: docker should restart automatically at that point (if not, restart it) with the new configuration.
As mentioned by the OP Michael Nelson in the comments, and detailed in "Docker for Windows" (which has sections relevant for "Docker for Mac")
The VM (Alpine-based) uses OpenRC as its init system.
The Docker init
script relies on a /usr/bin/mobyconfig
script.
This mobyconfig
script requires the kernel to boot with a com.docker.database
label specifying the location of the config file or it bails.
The mobyconfig
script is able to retrieve network
and insecure-registry
configuration for the Docker daemon or pick up a config file from /etc/docker/daemon.json
.