Support for several tags per image
See original GitHub issueDocker allows for tagging an image with several tags. is that doable with singularity/sregistry? sregistry could play an important role here because it would be the tag handler
for example
sregistry tag mso4sc/feelpp-toolbox:develop-v0.106.0-ubuntu-16.04 mso4sc/feelpp-toolbox:v106
sregistry tag mso4sc/feelpp-toolbox:develop-v0.106.0-ubuntu-16.04 mso4sc/feelpp-toolbox:latest
sregistry tag mso4sc/feelpp-toolbox:develop-v0.105.0-ubuntu-16.04 mso4sc/feelpp-toolbox:v105
sregistry tag mso4sc/feelpp-toolbox:develop-v0.105.0-ubuntu-16.04 mso4sc/feelpp-toolbox:production
Encoding the tag in the filename when a pull is done is then a bad idea. A docker-like system would be better and an image is identified uniquely with a uuid.
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (13 by maintainers)
Top Results From Across the Web
docker - Is it possible for image to have multiple tags?
You can build an image with several tags and then push the image with the --all-tags option. Example: docker build -t reg/user/image:foo -t ......
Read more >Top 15 Image Tagging Tools for Easier Image Management
Looking for a tool that can help you quickly categorize bulk images? Get to know these 15 Image Tagging Tool for easier image...
Read more >The Best Ways to Organize Your Files with Tags and Labels
You'll find tags in advanced photo management tools like Lightroom, but here are some simpler apps to help organize your photo library. Pixave...
Read more >Docker Tagging: Best practices for tagging and versioning ...
I'll start by outlining two basic versioning schemes we've found map ... So, it does a docker run of each of those image:tag...
Read more >Image tag best practices - Azure Container Registry
Unique tags - A different tag for each image you push to a registry, such as mycontainerimage:abc123. Stable tags. Recommendation: Use stable ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@prudhomm , I think if you upload same image with several tags it’s going to be stored several times. @vsoch , I’m right?
I agree with Christophe, being able to assign several tags to the same image in the server side will help to better manage software lifecycles. I also think
sregistry-cli
could be the tool in charge of creating/assigning new tags to already stored images.sregistry-cli
does not only works with the local repostory, in case of interacting with asregistry
server it allows topush
, why no atag
orretag
command?There isn’t support for adding another tag to an existing image, but if you do upload the same ImageFile using the library client, it will share the same file:
https://github.com/singularityhub/sregistry/blob/master/shub/apps/library/views/images.py#L177
We can’t easily add this to the snippets above (upload from browser or with sregistry) because the nginx upload won’t give us a sha256 sum to ensure non-duplication. But hopefully over time more users will just use singularity to upload, and the other endpoints can be deprecated. Anyway, I’m closing the issue, because now uploading different tags for the same image file using the library client will not upload multiple images.