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 fails to build image #43

Open
drikusroor opened this issue Jul 23, 2024 · 0 comments
Open

Docker fails to build image #43

drikusroor opened this issue Jul 23, 2024 · 0 comments

Comments

@drikusroor
Copy link

According to the README.md, I should be able to build & run the Docker containers by running docker compose up and docker compose up --build. However, when I do this, I get the following error message:

docker compose up --build
[+] Building 0.7s (8/17)                                                                                                                                                              docker:desktop-linux
 => [backend internal] load build definition from Dockerfile                                                                                                                                          0.0s
 => => transferring dockerfile: 689B                                                                                                                                                                  0.0s
 => [backend internal] load metadata for docker.io/library/python:3.8                                                                                                                                 0.6s
 => [backend internal] load metadata for docker.io/library/openjdk:slim                                                                                                                               0.6s
 => [backend internal] load .dockerignore                                                                                                                                                             0.0s
 => => transferring context: 50B                                                                                                                                                                      0.0s
 => CACHED [backend] FROM docker.io/library/python:3.8@sha256:85200fc189df14e1e8da49917ce6d56aac0277ed8d4464f6ab9cf57fafb092c2                                                                        0.0s
 => CACHED [backend stage-0  1/11] FROM docker.io/library/openjdk:slim@sha256:8e17383576d7e71988ee5927473a32e8461381c7a29eefa9a0c24b3a28926272                                                        0.0s
 => [backend internal] load build context                                                                                                                                                             0.0s
 => => transferring context: 38B                                                                                                                                                                      0.0s
 => ERROR [backend stage-0  2/11] COPY --from=python:3.8 / /                                                                                                                                          0.0s
------
 > [backend stage-0  2/11] COPY --from=python:3.8 / /:
------
failed to solve: cannot replace to directory /var/lib/docker/overlay2/pfzdhcbec1sa422i4p979vaic/merged/bin with file

Context

  • Docker Version 4.31.0 (153195)
  • macOS Sonoma 14.2.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant