Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Docker for Mac (Edge) is not respecting $DOCKER_CONFIG, or $KUBECONFIG environment variable #2635
Docker doesn't write any config files to
It'd be awesome to have a setting in Docker for Mac that allowed configuring where configuration files and Volumes etc could be stored.
config.json and daemon.json are written to the
Steps to reproduce the behavior
changed the title
Docker for Mac (Edge) is not respecting $DOCKER_CONFIG environment variable
Feb 22, 2018
On windows it's working due to how system properties behave.
On OSX, there is no trivial way to add trully global varenv. There seems to be a way, if you want to try though : https://apple.stackexchange.com/questions/106355/setting-the-system-wide-path-environment-variable-in-mavericks. Please note that this is not officially supported.
Issues go stale after 90d of inactivity.
Prevent issues from auto-closing with an
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
I made a tiny app to help me with this. Instead of launching Docker, I launch Docker-Env, which just runs a shell script before then launching Docker.app. The shell script can set variables (in my case
Get it here: https://github.com/stefansundin/Docker-For-Mac-Env
But it would definitely be a lot more convenient if something was added to the official app!