Docker naming scheme
See original GitHub issueAs discussed in https://github.com/GitTools/GitVersion/pull/1571#discussion_r249751741, it would be beneficial for us if GitTools didn’t have 4 different repositories for GitVersion:
I believe having these four options publicly available makes it unnecessary hard to choose which Docker image to use and the naming standard of the tags in each repository is also a bit hard to understand.
I think it would be beneficial to us and our users if we ended up with just one Docker image and associated repository, simply called gitversion
and that the tag naming scheme of this repository followed that of NGINX, which would give us the tag format {version}-{platform}-{framework}
. For example:
4.0.0-centos
4.0.1-beta2-debian-fx
4.0.0-beta15-windows-dotnetcore
latest-ubuntu
latest-windows
stable-ubuntu
stable-windows
I have a whole heap of unanswered questions related to this:
- Is this at all possible?
- Can we obsolete repositories so they aren’t listed, but still have their contained images be usable for those who are using them?
- Can we clean up the visible tags of a repository without making the images for those tags unavailable?
- Will the proposed naming scheme support all the different variations we want and need?
- Are there anything I haven’t thought of?
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
What is the naming conventions of Docker tag?
A naming convention would be something that specifies where in the tag characters like '-' or '.' should be used, if there are...
Read more >docker - How to name Dockerfiles
The default filename is Dockerfile (without an extension), and using the default can make various tasks easier while working with containers.
Read more >Episode 12. Naming and Tagging Docker Images and ...
Official images in Docker Hub have names assigned by default eg. node, node: latest, node:14. It is a good practice to assign names...
Read more >3 Tips for Naming Docker Containers
When you create a Docker container, it is assigned a universally unique identifier (UUID). These are essential to avoid naming conflicts and ...
Read more >Naming .NET Core Docker Images - Marc Roussy
Ultimately, you can use whatever scheme you want to name and tag your images. Every project is unique and will have its own...
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
Ok, I agree.
{version}-{os}-{distro}-{targetframework}
it is, then.Can’t we use the same framework notation as the one used in MSBuild’s
<TargetFramework>
? Such as:netcoreapp2.1
netcoreapp2.2
net472