Skip to content

nerdctl/mounts label too long #4914

@cielavenir

Description

@cielavenir

Description

sudo ~/Downloads/nerdctl-2.2.0-linux-amd64/nerdctl run --namespace moby --privileged -it --rm --entrypoint bash IMAGE shows this

FATA[0000] create container failed validation: containers.Labels: label key and value length (5005 bytes) greater than maximum size (4096 bytes), key: nerdctl/mounts: invalid argument

Steps to reproduce the issue

Describe the results you received and expected

The container should be started

What version of nerdctl are you using?

2.2.2/1.6.0/0.19.0

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

None

Host information

Debian 13

$ cat /proc/cmdline 
ro SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1 systemd.unified_cgroup_hierarchy=0 split_lock_detect=off kvm.enable_virt_at_load=0 quiet splash

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions