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
Looks like the name store may accidentally get stuck in an improper state
Probably a recent regression in the main branch.
Workaround:
sudo rm /var/lib/nerdctl/1935db59/names/default/foo