You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tell us about your request
I would like a way to configure where in a WSL distro Docker Desktop creates its config files, ideally per installed distro.
Which service(s) is this request for?
Docker Desktop, Windows
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
When Docker Desktop is installed in Windows, enabling WSL integration with an installed WSL distro would create a .docker folder inside $HOME. I am attempting to follow the XDG Base Directory specification to reduce the number of dotfiles in my WSL home directory, and have set DOCKER_CONFIG in my WSL .bashrc. However, Docker Desktop is ignoring this variable and creating ~/.docker.
Are you currently working around the issue?
I know of no current way to force Docker Desktop to create its configs in a different location when enabling WSL integration.
Additional context #408 is a similar request, but is talking about changing it for the Docker Desktop installed system, rather than integration with installed WSL distros.
The text was updated successfully, but these errors were encountered:
Tell us about your request
I would like a way to configure where in a WSL distro Docker Desktop creates its config files, ideally per installed distro.
Which service(s) is this request for?
Docker Desktop, Windows
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
When Docker Desktop is installed in Windows, enabling WSL integration with an installed WSL distro would create a
.docker
folder inside$HOME
. I am attempting to follow the XDG Base Directory specification to reduce the number of dotfiles in my WSL home directory, and have setDOCKER_CONFIG
in my WSL.bashrc
. However, Docker Desktop is ignoring this variable and creating~/.docker
.Are you currently working around the issue?
I know of no current way to force Docker Desktop to create its configs in a different location when enabling WSL integration.
Additional context
#408 is a similar request, but is talking about changing it for the Docker Desktop installed system, rather than integration with installed WSL distros.
The text was updated successfully, but these errors were encountered: