Skip to content

Leading underscores in pathComponent? #24

@joostm1

Description

@joostm1

I'm attempting to use "snowpark container services", i.e., a container service delivered by snowflake.com. .. As this is a database company, everything over there is in a database, even container registries ...

As it happens, we have a naming scheme for all our databases that start with an underscore, like _dev_xyz_db. This scheme leads to container repository like this:

registry.snowflakecomputing.com/_leading_underscore_db/_leading_underscore_schema/_leading_underscore_container_repo

An attempt to use this URL results in:
ERROR: failed to build: invalid tag "tag=<redacted>.registry.snowflakecomputing.com/_leading_underscore_db/_leading_underscore_schema/_leading_underscore_container_repo": invalid reference format

I think the error originates here, where it is made explicit that a path component must start alphanumeric.

However, names with a leading underscore are valid path components in the rfc3986 URL spec.

Any chance that we can have _name as valid a path component in docker?

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