Open FeodorFitsner opened 4 years ago
Even after applying the workaround and using a docker managed volume, I still have issues with spinning on gitlab on appveyor.
I'll try and provide a repro
In my repro I cannot find the exact reason for gitlab container to report unhealthy.
https://ci.appveyor.com/project/casz/appveyor-gitlab-container-repro https://github.com/casz/appveyor-gitlab-container-repro
Perhaps you have more luck testing / consuming the log on a VM directly
Provided build log is the successful one - I don't see any errors there. Could you please elaborate what should I look for?
The build log is not accurate as the container still reported unhealthy.
locally the container spins up correctly.
Are you running the container locally in LCOW mode or on MobyLinuxVM?
Locally I use MobyLinuxVM as I run on Windows 10. Where LCOW mode was removed.
I mean your Docker Desktop is in Linux mode when you run GitLab container, right?
Yes running docker desktop in linux mode when I launch GitLab container.
We are running the same test on GitHub actions on their ubuntu image with zero issues. Only reason we aren't using GitHub's windows image yet is they have not enabled LCOW nor provide a way to switch to Linux mode.
On AppVeyor you can switch Docker to Linux mode with Switch-DockerLinux
cmdlet. Give it a try. LCOW mode is really unstable sometimes, especially for complex things.
Original report: https://help.appveyor.com/discussions/questions/43754-visual-studio-2019-docker-networking-issue Workaround: https://github.com/docker/for-win/issues/445#issuecomment-547194464