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

(nerdctl|docker) build: createdAt discrepancy #3468

Open
apostasie opened this issue Sep 26, 2024 · 0 comments
Open

(nerdctl|docker) build: createdAt discrepancy #3468

apostasie opened this issue Sep 26, 2024 · 0 comments
Labels
kind/unconfirmed-bug-claim Unconfirmed bug claim

Comments

@apostasie
Copy link
Contributor

Description

When a Dockerfile is basically a no-op on top of an existing image (eg: no new layer), docker will report the createAt data as the same as the base image, while nerdctl will report the createdAt date as the current time.

No idea which one is right.

Steps to reproduce the issue

Dockerfile

FROM ubuntu:22.04
LABEL org.opencontainers.image.source=https://github.com/foo/bar
docker build -t foofoo .
docker images foofoo

REPOSITORY   TAG       IMAGE ID       CREATED       SIZE
foofoo       latest    0e176124cabe   2 weeks ago   69.2MB
nerdctl build -t foofoo .
nerdctl images foofoo

REPOSITORY    TAG       IMAGE ID        CREATED          PLATFORM       SIZE       BLOB SIZE
foofoo        latest    a37803d1ecd0    3 seconds ago    linux/arm64    78.98MB    27.36MB

Describe the results you received and expected

Same with both?

What version of nerdctl are you using?

main

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

@apostasie apostasie added the kind/unconfirmed-bug-claim Unconfirmed bug claim label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/unconfirmed-bug-claim Unconfirmed bug claim
Projects
None yet
Development

No branches or pull requests

1 participant