Skip to content

Conversation

@apostasie
Copy link
Contributor

@apostasie apostasie commented May 13, 2024

@AkihiroSuda

This is solution A (fix #2992 ).

It does make things much better of course, but yes, it is still racy.

With while true; do sudo ./nerdctl-patch run -d --restart always --name whatevername debian bash; done it will race out the container restart about 1 time out of 30 (on an old rpi).

IMHO, we should go ahead and merge this anyway - because it is drastically improving the situation.

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda added this to the v2.0.0 milestone May 13, 2024
@AkihiroSuda AkihiroSuda merged commit 1bac3e7 into containerd:main May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nerdctl sometimes fail to check if a container name already exists and ends-up creating duplicates

2 participants