Skip to content

Allow --link name to start with a number #2395

Closed
@scsmithr

Description

@scsmithr

It would be nice to run docker run -it codercom/code-server:latest --link and not have to specify an argument to link. However this will fail most of the time with Name must conform to regex ^[a-z][a-z0-9_]{0,50}$ because --link defaults to host name (I think), and docker host names start with a number more often than they start with a letter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSome improvement that isn't a feature

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions