Command line hooks for Docker Desktop for Mac

I’ve been trying to find out if there are command line hooks to control Docker Desktop for Mac from the command line. As context, we have a script at my job that establishes proxy settings for various non Docker things. It would be convenient if we could also change the proxy settings for Docker Desktop.

I know the settings should be in /Library/Application Support/Docker/DockerDesktop/admin-settings.json but that wasn’t created at install time. I also have a ~/.docker/config.json file. But, from observation, it’s not always pulling from that file.

Also, it seems like the public github repo for Docker Desktop is just an issue tracker. Am I missing something, or should I just mark this off as not possible for the time being?

1 Like

I’m looking for this too. Did you ever figure it out?