Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some restriction to "org.opencontainers.ref.name" #591

Closed

Commits on Mar 8, 2017

  1. Add some restriction to "org.opencontainers.ref.name"

    A common use case of `org.opencontainers.ref.name`
    is representing a `tag` for a container image. In docker,
    there is some restriction of the name see
    https://github.com/docker/docker/blob/master/vendor/github.com/docker/distribution/reference/regexp.go#L37.
    Without these restrictions, I'm afraid the tag of
    oci image is invalid for docker. These restrictions used to exist but removed in
    opencontainers#533.
    
    Signed-off-by: Lei Jitang <[email protected]>
    coolljt0725 committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    1ef6b5d View commit details
    Browse the repository at this point in the history