Docker for Windows (beta) and msysgit
Friday, April 15th, 2016I’ve recently joined the beta program for Docker on Windows (now based on Hyper-V).
I wanted to keep my current config using msysGit but got weird errors when executing Docker commands from msysGit: https://forums.docker.com/t/weird-error-under-git-bash-msys-solved/9210
I could fix the issue by installing a newer version of msysGit with support for the MSYS_NO_PATHCONV environment variable. With that installed, I then changed my docker alias to a better approach:
docker() { export MSYS_NO_PATHCONV=1 ("$DOCKER_HOME/docker.exe" "[email protected]") export MSYS_NO_PATHCONV=0 }
Hope this helps!
If you enjoyed this post, make sure you subscribe to my RSS feed!