Skip to content

name "foo" is already used by ID "" #3351

@AkihiroSuda

Description

@AkihiroSuda

Looks like the name store may accidentally get stuck in an improper state

$ sudo nerdctl run -it --rm --name=foo alpine
FATA[0000] name "foo" is already used by ID ""

$ sudo nerdctl rm -f foo
ERRO[0000] 1 errors:
no such container: foo

$ sudo nerdctl run -it --rm --name=foo alpine 
FATA[0000] name "foo" is already used by ID ""

Probably a recent regression in the main branch.

Workaround: sudo rm /var/lib/nerdctl/1935db59/names/default/foo

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