Skip to content

docker compose up --build produces error #3

@nutjob4life

Description

@nutjob4life

Running docker compose up --build (or for older versions of Docker, docker-compose up --build) with a master of 9f797de (2025-07-11) produces this error message:

 => [labcas-backend] resolving provenance for metadata file                                                        0.0s
 => [publish internal] load build definition from Dockerfile                                                       0.0s
 => => transferring dockerfile: 2.72kB                                                                             0.0s
 => [labcas-ui internal] load build definition from Dockerfile                                                     0.0s
 => => transferring dockerfile: 2.26kB                                                                             0.0s
 => [airflow internal] load build definition from Dockerfile                                                       0.0s
 => => transferring dockerfile: 1.10kB                                                                             0.0s
 => ERROR [labcas-ui internal] load metadata for docker.io/library/labcas-ubuntubase:latest                        0.5s
 => CANCELED [airflow internal] load metadata for docker.io/apache/airflow:2.6.3                                   0.5s
 => CANCELED [publish internal] load metadata for docker.io/library/python:3.10-slim                               0.5s
 => [publish auth] library/python:pull token for registry-1.docker.io                                              0.0s
 => [airflow auth] apache/airflow:pull token for registry-1.docker.io                                              0.0s
 => [labcas-ui auth] library/labcas-ubuntubase:pull token for registry-1.docker.io                                 0.0s
------
 > [labcas-ui internal] load metadata for docker.io/library/labcas-ubuntubase:latest:
------
failed to solve: labcas-ubuntubase: failed to resolve source metadata for docker.io/library/labcas-ubuntubase:latest: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

Reproduction

$ date -u
Fri Jul 18 14:23:28 UTC 2025
$ cd /tmp
$ git clone --quiet https://github.com/Labcas-NIST/labcas-docker.git
$ cd labcas-docker
$ docker compose up --build

 => CANCELED [airflow internal] load metadata for docker.io/apache/airflow:2.6.3                                   0.4s
 => ERROR [labcas-ui internal] load metadata for docker.io/library/labcas-ubuntubase:latest                        0.3s
 => CANCELED [publish internal] load metadata for docker.io/library/python:3.10-slim                               0.4s
 => [airflow auth] apache/airflow:pull token for registry-1.docker.io                                              0.0s
 => [publish auth] library/python:pull token for registry-1.docker.io                                              0.0s
 => [labcas-ui auth] library/labcas-ubuntubase:pull token for registry-1.docker.io                                 0.0s
------
 > [labcas-ui internal] load metadata for docker.io/library/labcas-ubuntubase:latest:
------
failed to solve: labcas-ubuntubase: failed to resolve source metadata for docker.io/library/labcas-ubuntubase:latest: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

Versions

  • macOS 15.5 (24F74)
  • Docker Desktop 4.39.0 (184744)

Metadata

Metadata

Assignees

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