Skip to content

Docker: image {x}: already exists first time doing docker compose up #76

Description

@mslaursen

Running it again solves the problem, but this should not happen.

 => CANCELED [api stage-1 2/3] COPY --from=builder --chown=app:app /app /app                                                                                                                         0.0s 
 => [taskiq-worker stage-1 2/3] COPY --from=builder --chown=app:app /app /app                                                                                                                        2.4s 
 => [taskiq-worker stage-1 3/3] WORKDIR /app                                                                                                                                                         0.2s 
 => CANCELED [taskiq-worker] exporting to image                                                                                                                                                      6.2s 
 => => exporting layers                                                                                                                                                                              5.3s 
 => => exporting manifest sha256:93263a0ee53e3d23b619357ac9c5428508ba16f43aa921f031daf8bdf0e4b3ab                                                                                                    0.1s 
 => => exporting config sha256:13c473fdac74ad4f5f3aec5fba9aa6740aeaacc3c2856de791e891df0822e6cf                                                                                                      0.1s 
 => => exporting attestation manifest sha256:b1b1087473872cccd7a3cf1f4d96287049ef0b3f1f71ce894964c57e88af93a9                                                                                        0.2s 
 => => exporting manifest list sha256:7eb82762a68de2ccc39b3a054eeffee5ae6ba1b3be6a53b5ac2be9f40e11f017                                                                                               0.1s 
 => => naming to docker.io/library/game_zone:latest                                                                                                                                                  0.1s 
 => => unpacking to docker.io/library/game_zone:latest                                                                                                                                               0.3s 
 => ERROR [taskiq-scheduler] exporting to image                                                                                                                                                      5.9s 
 => => exporting layers                                                                                                                                                                              5.3s 
 => => exporting manifest sha256:854011e1e66fdd98dab6c683e45f9685e3a3d53fe10f699e3bb1cdc0dc649860                                                                                                    0.1s 
 => => exporting config sha256:9b74d8e7ea76e6107fc73d690787d67f39093daa7dac32825f7ee870203a34c2                                                                                                      0.1s 
 => => exporting attestation manifest sha256:d05109e3c1b084a4b1564f4f3c67d3b9388f7c780f94f216d30c00730ca0bf3e                                                                                        0.2s 
 => => exporting manifest list sha256:5d71e4a47855914be0518d8b7dd20379d4e2799bbf519af197fe8682f3afc32d                                                                                               0.1s 
 => => naming to docker.io/library/game_zone:latest                                                                                                                                                  0.0s 
 => CANCELED [api] exporting to image                                                                                                                                                                6.2s 
 => => exporting layers                                                                                                                                                                              5.3s 
 => => exporting manifest sha256:67f4b4683e550306275fe495e2223ce5964351755ed3c00c2a6165d230ee143b                                                                                                    0.1s 
 => => exporting config sha256:5825b443b8e1983dd3bfab72ad00bbad29a729de233cac547b9e52bb188dcab8                                                                                                      0.1s 
 => => exporting attestation manifest sha256:0f58b78b2cb082a6dda5201ac0ff392e351cb9c0cd996ef3995e3a0b28aec92f                                                                                        0.2s 
 => => exporting manifest list sha256:13a6fecdd552891036cc891bc33b1c119308e4944bacfececb777dc7caa3e849                                                                                               0.1s 
 => => naming to docker.io/library/game_zone:latest                                                                                                                                                  0.0s 
 => => unpacking to docker.io/library/game_zone:latest                                                                                                                                               0.3s 
------
 > [taskiq-scheduler] exporting to image:
------
failed to solve: image "docker.io/library/game_zone:latest": already exists

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions