Skip to content

Error when starting docker compose #6

@dastin-sandura

Description

@dastin-sandura

Running command in Windows cmd:
docker compose -f docker-compose.dev.yml up
in main drectory of the project:

libruch> dir
05.03.2023 14:25 .
05.03.2023 14:25 ..
05.03.2023 14:25 6 .gitignore
05.03.2023 14:36 backend
05.03.2023 14:25 753 docker-compose.dev.yml
05.03.2023 14:25 frontend
05.03.2023 14:25 269 README.md
3 File(s) 1 028 bytes
4 Dir(s) 29 640 077 312 bytes free

Results in this output which finishes with error:
[+] Building 1.8s (10/17)
=> [libruch-backend internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 32B 0.0s
=> [libruch-frontend internal] load build definition from Dockerfile.dev 0.1s
=> => transferring dockerfile: 36B 0.0s
=> [libruch-backend internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> [libruch-frontend internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> [libruch-backend internal] load metadata for docker.io/library/openjdk:11 0.7s
=> [libruch-frontend internal] load metadata for docker.io/library/node:18 0.7s
=> CANCELED [libruch-backend internal] load build context 0.1s
=> => transferring context: 2.69kB 0.0s
=> CANCELED [libruch-backend stage-0 1/3] FROM docker.io/library/openjdk:11@sha256:99bac5bf83633e3c7399aed725c8415e7b569b54e 0.2s
=> => resolve docker.io/library/openjdk:11@sha256:99bac5bf83633e3c7399aed725c8415e7b569b54e03e4599e580fc9cdb7c21ab 0.0s
=> => sha256:47a932d998b743b9b0bcce55aa8ede77de94a6a183c8a67dec9d5e3b8ce0faa7 6.26kB / 6.26kB 0.0s
=> => sha256:99bac5bf83633e3c7399aed725c8415e7b569b54e03e4599e580fc9cdb7c21ab 1.04kB / 1.04kB 0.0s
=> => sha256:e81b7f317654b0f26d3993e014b04bcb29250339b11b9de41e130feecd4cd43c 1.79kB / 1.79kB 0.0s
=> [libruch-frontend 1/5] FROM docker.io/library/node:18@sha256:8b2c008211854f4ee9ca328910d1c6bff8f30fc9fdf834b48f7ea40992a2 0.5s
=> => resolve docker.io/library/node:18@sha256:8b2c008211854f4ee9ca328910d1c6bff8f30fc9fdf834b48f7ea40992a2079a 0.5s
=> CANCELED [libruch-frontend internal] load build context 0.1s
=> => transferring context: 0.5s
failed to solve: error from sender: context canceled

Could you recommend what is wrong? @oneacik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions