-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
WINDOWS: unable to build simple docker-compose.yml with changed context #5888
Comments
Hello @mapan1984, thx for info! |
I had similar problem in windows, using docker toolbox. |
In my case was problem with dead symlinks, so it is not bug in docker-compose. Closing. |
I have a file with 0 byte, and this is also cause a problem. |
Restart docker resolve my problem 😌 |
I've just moved from MacOS to Windows 10, and my project has the the same issue building as here, I've tried uninstalling python, reinstalling docker, and replacing the docker-compose executable under
Dockerfile
docker compose file:
|
Nuked my windows installation, fresh without python it seems to work... so python is the culprit |
I have the same issue and can't solve it |
docker-compose up and build fails in windows but it works when i execute same command from inside WSL (mine is WSL2). |
I had this very issue and it turned out to be the |
I was having the same issue after upgrading to WSL 2 on Windows. Just removed It's probably some kind of symlink issue, you can check that by navingating into the |
I've tried the same thing, worked just fine! Thank you |
I have the same problem after upgrading to WSL 2, but isn't there a fix for this beside removing and reinstalling composer and npm packages over and over again? |
@lebadapetru Hey there, The solution I proposed works because symlinks don't work the same in Windows and Linux filesystems. WSL 2 has now incorporated the ext4 filesystem. The way to go is to move your files to the Linux VM to use native Linux symlinks. The first time you move your files, if they contain Windows symlinks, you will have to "fix" them. Removing Now, don't move those files away from the VM, keep them in there ;) |
Hello i'm running docker-desktop on windows 10, since the update it lost my containers Symfony 5.1 project with mysql and phpmyadmin and now i'm getting this error:
|
@setlec same issue here :-( |
one solution is to go to the 'public' folder and delete the 'storage' file. |
for me (in my php Laravel project) if just helps to clear only the vendor/bin folder. Like this, composer doesn't have to fully run again. However, certainly this is not a proper fix of the issue. |
Resolved it by removing node_modules. Had a browser tab open that referenced the files. |
Description of the issue
My
docker-compose.yml
:Context information (for bug reports)
Output of "docker-compose version"
Output of "docker version"
Output of "docker-compose config"
Steps to reproduce the issue
Expected result
Builded, container up.
Additional information
Windows 10, Powershell/cmd.exe (same result)
The text was updated successfully, but these errors were encountered: