Skip to content

main.ValidVolumeName does not align with Docker's valid volume names #26

@robhaswell

Description

@robhaswell

https://github.com/docker/docker/blob/97bed96759678c3611a6cacb533783b0f55fa67b/utils/names.go#L6 defines valid Docker volume names as matching the regexp ^[a-zA-Z0-9][a-zA-Z0-9_.-]+$. The definition in main.ValidVolumeName omits underscores and periods in the 2nd character and onwards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions