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

sudo cog run --use-cog-base-image=false -p 8188 bash , ERROR: failed to solve: failed to resolve source metadata for docker.io/library/python:3.10.6-slim: failed to copy: httpReadSeeker: failed open: error getting credentials - err: exit status 1, out: `` #1977

Open
ClusterLee opened this issue Oct 7, 2024 · 0 comments

Comments

@ClusterLee
Copy link

sudo cog run --use-cog-base-image=false -p 8188 bash

Building Docker image from environment in cog.yaml...
[+] Building 0.5s (1/2) docker:desktop-linux
[+] Building 1.5s (1/2) docker:desktop-linux
[+] Building 1.8s (1/2) docker:desktop-linux
[+] Building 2.1s (1/2) docker:desktop-linux
[+] Building 2.7s (2/3) docker:desktop-linux
[+] Building 2.8s (2/3) docker:desktop-linux
[+] Building 3.1s (2/3) docker:desktop-linux
[+] Building 3.4s (2/3) docker:desktop-linux
[+] Building 4.3s (4/6) docker:desktop-linux
[+] Building 4.5s (4/6) docker:desktop-linux
[+] Building 5.4s (4/6) docker:desktop-linux
[+] Building 5.4s (5/6) docker:desktop-linux
[+] Building 5.5s (6/6) FINISHED docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.89kB 0.0s
=> resolve image config for docker-image://docker.io/docker/dockerfile:1.4 2.2s
=> CACHED docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc 1.3s
=> => resolve docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc 1.3s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 815B 0.0s
=> ERROR [internal] load metadata for docker.io/library/python:3.10.6-slim 1.8s
=> ERROR [internal] load metadata for docker.io/library/python:3.10.6 1.8s

[internal] load metadata for docker.io/library/python:3.10.6-slim:



[internal] load metadata for docker.io/library/python:3.10.6:


Dockerfile:12

10 | RUN --mount=type=cache,target=/root/.cache/pip pip install -t /dep -r /tmp/requirements.txt
11 | ENV CFLAGS=
12 | >>> FROM python:3.10.6-slim
13 | ENV DEBIAN_FRONTEND=noninteractive
14 | ENV PYTHONUNBUFFERED=1

ERROR: failed to solve: failed to resolve source metadata for docker.io/library/python:3.10.6-slim: failed to copy: httpReadSeeker: failed open: error getting credentials - err: exit status 1, out: ``

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