Skip to content

Error nerdctl commit, "failed to create a tmp single-platform image..., content digest ... not found" #3415

@jooseop

Description

@jooseop

Description

I am using Kubernetes, and the container runtime is containerd.
I want to commit an image from within a pod.

Inside the pod, nerdctl is installed, and the pod has mounted the node's /run/containerd and /var/lib/containerd directories as hostPath volumes.

When I try to commit using nerdctl, I encounter the following error:

"time="2024-09-05T08:09:43Z" level=fatal msg="failed to create a tmp single-platform image "registry:tag-tmp-reduced-platform": content digest sha256:602d8ad51b8130f3fcd71cb936dea612ebc799666136abf2e5914585b3178a4a: not found"
The registry and tag seem fine.
I've also tried pulling the base image before running nerdctl.
I already attempted using the --unpack=false flag as well.

Do you know of any solution for this issue?

Steps to reproduce the issue

No response

Describe the results you received and expected

complete commit

What version of nerdctl are you using?

nerdctl commit

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

Others

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