Project

Profile

Help

Issue #7697

docker repo_repository_id name restrictions seems to be wrong

Added by jpasqualetto 8 days ago. Updated 7 days ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version - Docker:
Platform Release:
Target Release - Docker:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

While the code states that:

" Docker registry repos are restricted to lower case letters, numbers, hyphens, underscores, and periods. Additionally, we allow a single slash for namespacing purposes."

pulp is returning error for any docker_registry_id containing this sequence of characters:

  _-_

Example:

# pulp-admin docker repo create --repo-id=docker_test --repo-registry-id "my_-_repo"
A validation error occurred.

The value specified for repo-registry-id: 'my_-_repo' is invalid. Registry id
must contain only lower case letters, integers, hyphens, periods, and may
include a single slash.

Also, the error message doesn't say anything about accepting underscores.

History

#1 Updated by fao89 7 days ago

  • Project changed from Pulp to Container Support
  • Tags Pulp 2 added

#2 Updated by ipanova@redhat.com 7 days ago

  • Project changed from Container Support to Docker Support

Please register to edit this issue

Also available in: Atom PDF