Skip to content

nerdctl images shows a <none>:<none> entry for an image with a named tag #4739

@Kyle-Kyle

Description

@Kyle-Kyle

Description

nerdctl images shows a <none>:<none> entry for an image with a named tag

This is the output:

$ nerdctl images
REPOSITORY                                       TAG                      IMAGE ID        CREATED               PLATFORM       SIZE       BLOB SIZE
<none>                                           <none>                   584e97a9b22a    4 seconds ago         linux/amd64    87.58MB    29.73MB
test                                             latest                   584e97a9b22a    4 seconds ago         linux/amd64    87.58MB    29.73MB
rancher/mirrored-pause                           <none>                   74c4244427b7    50 minutes ago        linux/amd64    688.1kB    297.9kB
<none>                                           <none>                   74c4244427b7    50 minutes ago        linux/amd64    688.1kB    297.9kB
rancher/mirrored-pause                           3.6                      74c4244427b7    50 minutes ago        linux/amd64    688.1kB    297.9kB
rancher/mirrored-library-traefik                 <none>                   c56901603318    28 hours ago          linux/amd64    180.3MB    49.73MB
<none>                                           <none>                   c56901603318    28 hours ago          linux/amd64    180.3MB    49.73MB
rancher/mirrored-library-traefik                 3.5.1                    c56901603318    28 hours ago          linux/amd64    180.3MB    49.73MB
rancher/klipper-lb                               <none>                   7eb86d5b908e    28 hours ago          linux/amd64    13.46MB    5.018MB
<none>                                           <none>                   7eb86d5b908e    28 hours ago          linux/amd64    13.46MB    5.018MB
rancher/klipper-lb                               v0.4.13                  7eb86d5b908e    28 hours ago          linux/amd64    13.46MB    5.018MB
rancher/mirrored-coredns-coredns                 <none>                   9b9128672209    28 hours ago          linux/amd64    81.46MB    23.55MB
<none>                                           <none>                   9b9128672209    28 hours ago          linux/amd64    81.46MB    23.55MB
rancher/mirrored-coredns-coredns                 1.13.1                   9b9128672209    28 hours ago          linux/amd64    81.46MB    23.55MB
rancher/klipper-helm                             <none>                   9fbadb1e55ea    28 hours ago          linux/amd64    183.7MB    65.54MB
<none>                                           <none>                   9fbadb1e55ea    28 hours ago          linux/amd64    183.7MB    65.54MB
rancher/klipper-helm                             v0.9.12-build20251215    9fbadb1e55ea    28 hours ago          linux/amd64    183.7MB    65.54MB
rancher/local-path-provisioner                   <none>                   9289da488b07    28 hours ago          linux/amd64    63.72MB    21.14MB
<none>                                           <none>                   9289da488b07    28 hours ago          linux/amd64    63.72MB    21.14MB
rancher/local-path-provisioner                   v0.0.32                  9289da488b07    28 hours ago          linux/amd64    63.72MB    21.14MB
rancher/mirrored-metrics-server                  <none>                   89258156d0e9    28 hours ago          linux/amd64    85.94MB    22.49MB
<none>                                           <none>                   89258156d0e9    28 hours ago          linux/amd64    85.94MB    22.49MB
rancher/mirrored-metrics-server                  v0.8.0                   89258156d0e9    28 hours ago          linux/amd64    85.94MB    22.49MB

Steps to reproduce the issue

export CONTAINERD_ADDRESS=/run/k3s/containerd/containerd.sock
export CONTAINERD_NAMESPACE=k8s.io
nerdctl build -t test .
nerdctl images

Where the Dockerfile contains from ubuntu

Describe the results you received and expected

When there is a named tag for the ID, I don't think it should output none:none as a separate entry.

What version of nerdctl are you using?

nerdctl version 2.2.1

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

None

Host information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions