I’m trying to migrate my install from a VM to a docker container. As part of that, I’d like to pull the latest docker container and save that command for future use. The openhab/openhab container doesn’t have a latest tag, and all of the other tags seem to be pegged to a specific version (2.3, 2.2, 2.4.0.M3, etc). Is there a way to pull the latest stable build for -amd64-debian and/or the latest experimental for -amd64-debian?
Not that I know of. You have to pull a specific version.
Though this is particularly true of OH, you shouldn’t be blindly pulling the latest anyway. Stuff changes and stuff breaks.
If you want to be on the bleeding edge, the SNAPSHOT tag will give you the latest SNAPSHOT build when you pull it. In many ways, SNAPSHOT is the latest tag.
If not, you want upgrading to a new version OH to be deliberate and well monitored.