-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run lando inside a Windows Docker image #43
Comments
Apparently, I can use the following lines in the Dockerfile
I now see the following more mysterious error:
Perhaps there is another setting that I need to change? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am currently trying to run lando inside a Windows Docker image on Windows OS.
Specifically, I am using docker:20.10.8-windowsservercore-1809 from the official Docker in Docker website.
If I use the following Dockerfile, everything works when building by executing
docker build -f Dockerfile -t lando-test .
However, when I try to run the image by executing
docker run -i --name lando-test -v //./pipe/docker_engine://./pipe/docker_engine lando-test
I observe the following when executing commands inside the image:docker run hello-world
works just fine and gives the expected output.lando version
works just fine and gives the expected output.lando init
throws the following error:Lando could not detect an installation of Docker, which is a required dependency
Looking at the daemon code and env code in GitHub, I see that the path to Docker is somehow hardcoded and does not match the path from the official Docker in Docker image which is
C:\Program Files\docker\docker.exe
. I guess that there are similar hardcoded paths in other places.The text was updated successfully, but these errors were encountered: