Comments (3)
Can you share the Dockerfile. The base
image has not existed for many years. I would guess that the base
in your Dockerfile is supposed to be another stage's name.
from official-images.
I think more specifically the problem would be in one of the FROM
directive lines. If you are unable to post the whole file, just these lines would be helpful.
from official-images.
Hey @yosifkit @LaurentGoderre ,
Indeed I had a bug in my Dockerfile.
I tried to comment out some parts because of some issue I was debugging, and this resulted in a Dockerfile like this -
#FROM ubuntu as base
FROM ubuntu as release
#FROM base as build
#RUN touch /tmp/demo
FROM base as release
#COPY --from=build /tmp/demo /tmp/demo
With this output -
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 189B 0.0s
=> ERROR [internal] load metadata for docker.io/library/base:latest 1.4s
=> [auth] library/base:pull token for registry-1.docker.io 0.0s
------
> [internal] load metadata for docker.io/library/base:latest:
------
Dockerfile:7
--------------------
5 | #RUN touch /tmp/demo
6 |
7 | >>> FROM base as release
8 | #COPY --from=build /tmp/demo /tmp/demo
9 |
--------------------
ERROR: failed to solve: base: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
Instead of
FROM ubuntu as base
FROM base as build
RUN touch /tmp/demo
FROM base as release
COPY --from=build /tmp/demo /tmp/demo
So indeed there was no stage base
image anymore, resulting in this error.
Thank you!
from official-images.
Related Issues (20)
- More RISC-V builds - how can I help? HOT 5
- Add LoongArch architecture support HOT 4
- Error relocating /usr/lib/libcurl.so.4: SSL_get0_group_name: symbol not found
- Rust 1.77.2-slim arm64 Images Missing HOT 2
- Odoo release number in tag HOT 2
- An issue with nginx 1.25.5 manifest. HOT 4
- Using gpu on Orangepi Rk3588 Board HOT 1
- no you HOT 5
- Broken release: SonarQube 9.9.5 tags do not support the arm64 architecture. HOT 3
- Broken Release: MySQL 8.4.0 HOT 1
- Fix CVE-2023-24538 and CVE-2023-24540 HOT 2
- can not find mariadb:10.11.8 images in https://hub.docker.com/_/mariadb HOT 1
- "operation not permitted", a `libseccomp` story HOT 1
- [incident] Alpine 3.20 seccomp issues (arm32v6, arm32v7, i386, riscv64, ppc64le) HOT 12
- Review request for MariaDB UBI based image HOT 1
- influxb image: platform in image-index and image-config do not match HOT 5
- missing arm64v8 layers in MariaDB image HOT 3
- Official Chiselled Ubuntu images support? HOT 4
- Resolve critical and high vulnerabilities in node:lts-bookworm base image HOT 5
- Deprecation of image formats in older published images HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from official-images.