Docker download: Update docker organization#371
Conversation
|
(Waiting for the images to really be on Dockerhub, then updating the image size) |
|
(First images are on Dockerhub and image sizes updated) On the website, the docker image tag is referenced with a specific version, e.g. On Dockerhub this image is not yet available but published as |
|
Hi Carmen! Thanks for the changes! I'd suggest to remove the version number from the website if that does not exist on Dockerhub, to avoid confusion when people copy-paste from the website. In any case, I find it difficult to match the terms used in the website for the download section (current, legacy, preview) with the tags in Dockerhub (stable, latest, releasebranch83). How do they relate? Which one to keep? IIUC, releasebranch83 will become stable once 8.3 is released and latest will still be main, right? |
|
Hi Vero, thanks for the feedback :)
The versions will appear on Dockerhub when a release is made. Just I don't know the correlation between a release and the website, e.g. when the variable
Yes, that was the idea. What is your opinion on the tags? |
|
I think the expected behavior in Docker world is that there is latest which points to whatever is the default stable version. |
|
First of all, it's possible to have multiple tags for each image, to accommodate different granularity or anything else. Next, it might be more useful to have also the version as semver at the beginning of the tag, and have after a dash a suffix with the remaining info. That would enable users to have their dependencies updated by tools, like renovate that we use. Take a look at the docs where they explain what they support (that is the common usage of tags): https://docs.renovatebot.com/docker/#docker Again, I'm only talking about adding a tag, not replacing what is done at the moment, only to accommodate more use cases and match more expected behavior. |
|
Thanks for your opinions. I will leave this open until a release (not pre-release as was done recently) will be made, then also tags with a version will appear on dockerhub and might add some ideas to the discussion. |
|
I have edited the PR and tried to add "wxgui" entries. Unfortunately I have no idea how to get the new shortcode |
Not sure how, but I guess something needs to be added here as well: https://github.com/OSGeo/grass-website/blob/master/themes/grass/layouts/shortcodes/grassVersion.html |
IIUC, this is then not the same than latest tag pointing to main branch which is a dev branch, not stable. I do like latest and stable as tags, but let's agree on their meaning and perhaps also think again about the terminology we use within the website download section. |
|
The new releases shows up as expected: |
@mmacata As of today (so, after the G8.3.0 release) it still shows 8.2, not sure why? |
If you're running on a system where you already have the image tag locally, it won't pull again when starting it with run. You can use the following to pull the image again |
|
There is no mapping of |
|
Indeed: |
|
Suggestions for a slighly different tag approach in this PR: OSGeo/grass#3075 |
|
Since https://grass.osgeo.org/download/docker/ is pointing to meanwhile non-existing docker repos, any chance to get this merged? |
I thought there were pending things here. Also, there is this unmerged PR proposing a diff approach: OSGeo/grass#3075. Can we move it to "Ready for review" @mmacata ? |
rename latest to main for docker preview tag
|
So the related PR was updated for |
|
Great work! Merging. |
|
The plan is to keep the branches or replace them with tags for 8.3? The section headings use x.y.z, but then the info box and commands are for a branch. While using a release branch is perfectly fine from GRASS project perspective, people less familiar with the GRASS development life cycle will likely prefer to use a release because that seems more stable. 7.8 has release in heading and commands, but the info box mentions a branch. |


As the GRASS GIS docker images are currently moving from "mundialis" to OSGeo dockerhub organization, this PR updates it.