Skip to content
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

Docker-compse: failed to solve: rpc error: #98

Open
Leon-hk opened this issue Dec 31, 2021 · 1 comment
Open

Docker-compse: failed to solve: rpc error: #98

Leon-hk opened this issue Dec 31, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Leon-hk
Copy link

Leon-hk commented Dec 31, 2021

Describe the bug

When setting up the service on a windows machine, Docker won't find a Dockerfile in the temp directory

[+] Running 0/1
 - backend Error                                                                                                   2.1s
[+] Building 0.0s (2/2) FINISHED
 => [internal] load build definition from Dockerfile                                                               0.0s
 => => transferring dockerfile: 2B                                                                                 0.0s
 => [internal] load .dockerignore                                                                                  0.0s
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount887106246/Dockerfile: no such file or directory

Steps to reproduce the issue

Install JDK 11, Maven and Docker on a Windows machine. Follow the installation process.
Error occurs on docker-compose up

Technical details

  • Windows 10 Home (19042.1415)/Windows 11 Pro (22000.376)
  • Docker Engine v20.10.11
  • jdk 11.0.2
  • apache-maven 3.8.4

Additional context

Tested on two different Windows machines

@Leon-hk Leon-hk added the bug Something isn't working label Dec 31, 2021
@maxstreifeneder
Copy link

same here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants