Skip to content

Volume code may be racy #3123

@apostasie

Description

@apostasie

Description

While poking // tests, I did hit this:

level=fatal msg="mkdir /home/dmp.linux/.local/share/nerdctl/1935db59/volumes/nerdctl-test/nerdctl-testvolumeremove: file exists"

We should have a look at volume creation code and figure out if it is locking properly or if the test for existence can be raced out.

Steps to reproduce the issue

na

Describe the results you received and expected

na

What version of nerdctl are you using?

1.7.6

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

None

Host information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions