Project

General

Profile

Bug #8375

When I upload the same image to two repositories, I get a validation failure that the tag is not unique per image

Added by David Davis over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

We've discussed this with Foreman already and I think the thing to do would be to remove this validation as an image can belong to two repos (each with a tag with the same name).


Related issues

Blocks Katello - Tracker #7125: Docker Content SupportReady For Testing

Associated revisions

Revision 0c89427c (diff)
Added by David Davis over 7 years ago

Fixes #8375 - Not validating tag uniqueness per image

Images can have duplicate tags as images are shared across repositories. For
example, two repos could have a "latest" tag for an image.

Revision 0c89427c (diff)
Added by David Davis over 7 years ago

Fixes #8375 - Not validating tag uniqueness per image

Images can have duplicate tags as images are shared across repositories. For
example, two repos could have a "latest" tag for an image.

History

#1 Updated by David Davis over 7 years ago

#2 Updated by David Davis over 7 years ago

I was actually able to show locally that I have two images with the same tag:

❯ docker images 
REPOSITORY              TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
daviddavis/scratch      latest              32f4b763e8b0        11 days ago         0 B
jlhawn/docker-scratch   latest              32f4b763e8b0        11 days ago         0 B
scratch                 latest              511136ea3c5a        17 months ago       0 B

#3 Updated by David Davis over 7 years ago

  • Project changed from Katello to Docker
  • Category deleted (Container)

#4 Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-docker/pull/45 added
  • Pull request deleted ()

#5 Updated by David Davis over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF