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
ERROR: Service 'css' failed to build : COPY failed: forbidden path outside the build context: #11
Comments
Hi, Are you using Docker Desktop or did you install Docker straight up within your Ubuntu WSL 2 instance? That error usually happens when Docker's buildkit isn't enabled but Docker Desktop should enable it by default. It's been available from Docker for years but I don't think it's enabled by default with native Linux. If you run If so and you're not using Docker Desktop you can goto |
Hi, In Windows where it was working it was with Docker Desktop. On the Ubuntu 20.04 VM I tried setting the env variable and it didn't work, seems like buildkit was missing in the install. I re-created the VM and install docker/docker-compose following official docker instructions and now that env variable works. Thank you! |
No problem. Did you enable it in the json config to avoid needing to set the env var every time? |
Just tried that now, the file didn't exist on my machine so I created it and put the mentioned line and it's working without setting it every time. Much appreciated, thanks for the support and great project. |
Hi,
Great project, should save a lot of time! I'm trying to run on Ubuntu 20.04.3 LTS and I get the following error:
Commenting out line 23 of the Dockerfile allows the build to finish
COPY --chown=node:node ../ ../
Perhaps I'm doing something wrong. Django starts up and everything looks good but I'm unsure the impact. Using WSL2 on Windows with the same OS works OK.
Thanks!
The text was updated successfully, but these errors were encountered: