I am a really new Docker user. Haven’t heard about it till yesterday. I need to run a python code that is wrapped into a docker app on a relatively short notice. I cloned the repo where the code is and am trying to run a docker-compose.yml file located in that repo.
When I run it by typing docker-compose up -d I get the following error:
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-mount727454373/Dockerfile: no such file or directory
PS L:\Python\Hospitals\BayesCHIME\chime_sims>
Please, use the </> button to share codes and error messages so your message is formatted correctly. Otherwise, people may not be able to read it. I fixed your post.
I am very surprised you could avoid it until yesterday but it is always good a new member in the community so welcome here.
Is it a public repo? Can you share it?
Where is the Dockerfile? Since your build context is the current directory (dot), it must be next to the docker-compose.yml file
Good you noticed it! Somehow I didn’t see the latest messages at that time and the original repository (even the mentioned version) has the Dockerfile so it must have been deleted.