Skip to content

nerctl commit image couldn‘t push #3248

@xjdtd

Description

@xjdtd

Description

[root@node02 ~]# nerdctl -n k8s.io ps |grep gitlab-runner
926a762b2a98 registry.xjd.com:5443/cicd/gitlab-runner:v17.2.0 "/usr/bin/dumb-init …" 12 hours ago Up k8s://cicd/gitlab-runner-78cbbdc498-8s77r/gitlab-runner
ead863474fe8 registry.aliyuncs.com/google_containers/pause:3.9 "/pause" 12 hours ago Up k8s://cicd/gitlab-runner-78cbbdc498-8s77r

[root@node02 ~]# nerdctl -n k8s.io commit 926a762b2a98 registry.xjd.com:5443/cicd/gitlab-runner:v17.2.1
WARN[0000] Image lacks label "nerdctl/platform", assuming the platform to be "linux/amd64"
sha256:8f0608ae860357cbb3efec565072070f2b9fc44c674c418ba9a04df57f8bd341

[root@node02 ~]# nerdctl -n k8s.io push registry.xjd.com:5443/cicd/gitlab-runner:v17.2.1
FATA[0000] failed to create a tmp single-platform image "registry.xjd.com:5443/cicd/gitlab-runner:v17.2.1-tmp-reduced-platform": content digest sha256:560c024910bebac6b404791af28ebd48a8289303b8377d17b67ffdfe52754f2a: not found
[root@node02 ~]#

Steps to reproduce the issue

Describe the results you received and expected

commit image could push

What version of nerdctl are you using?

[root@node02 ~]# nerdctl --version
nerdctl version 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

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions