Skip to content

nerdctl does not create labels defined by image #2996

@apostasie

Description

@apostasie

Description

This image here for example:
https://hub.docker.com/layers/dubodubonduponey/airplay/latest/images/sha256-b0cba69f13efc088530e96daefff5da4bd28031535ac974cfcd042d183128679?context=explore

Does define a number of LABEL.

When ran with Docker, these labels are created on the container.

Nerdctl does not.

Steps to reproduce the issue

Just run the image:

docker run -d --name foo --entrypoint bash dubodubonduponey/airplay
sudo ./nerdctl run -d --name foo --entrypoint bash dubodubonduponey/airplay

Then inspect it:

docker inspect foo
sudo ./nerdctl inspect foo

Describe the results you received and expected

Only the docker version shows the series of org.opencontainers.image labels.

Nerdctl should show them as well.

What version of nerdctl are you using?

1.7.6

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

None

Host information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions