April 10, 20206 yr Is there a way to tell what version of a particular docker I currently have installed? Right now all I can do is restart it and look through the logs while it comes back up. It would be nice to be able to get this info from the GUI. Or is there already a way I don't know about? Thanks.
April 10, 20206 yr 17 minutes ago, servidude said: Is there a way to tell what version of a particular docker I currently have installed? Right now all I can do is restart it and look through the logs while it comes back up. It would be nice to be able to get this info from the GUI. Or is there already a way I don't know about? Thanks. What are you looking for? The version of the app installed in the container, or the version of the container?
April 10, 20206 yr Community Expert If your looking for the docker engine version, type "docker version" in command line. It's also in the release notes for the unraid OS every time it is updated, unraid 6.8.3 is on 19.03.5
April 10, 20206 yr Author 31 minutes ago, Squid said: What are you looking for? The version of the app installed in the container, or the version of the container? The version of the container, i.e. the same version I would add to a docker pull command. Asking since I want to know which version to reinstall if my update breaks things. Thanks!
April 10, 20206 yr According to the docker run command, you're supposed to be able to do it via specifying a digest for the container instead of a tag. I couldn't however get it to work to reinstall a container via it's digest But, if you're actually worried about it in the first place, then I'd suggest that you don't use :latest as a tag in the first place and tag everything with a specific version. Alternatively, you can see when the container was created on the docker tab, and then take a fairly good guess as to which tag corresponds to that date and use it if you need to roll back. I've never had an issue with any container ever updating. Mind you, I refuse to use Plex since most of their updates to the program is completely broken in the first place.
February 18, 20242 yr So this seems still unanswered. I've got a container that has available updates. No where I can see what the current installed version is (same request, in case the updates breaks something, want to be able to roll back). Anyone?
August 7, 20241 yr On 4/10/2020 at 5:54 PM, Squid said: According to the docker run command, you're supposed to be able to do it via specifying a digest for the container instead of a tag. I couldn't however get it to work to reinstall a container via it's digest But, if you're actually worried about it in the first place, then I'd suggest that you don't use :latest as a tag in the first place and tag everything with a specific version. Alternatively, you can see when the container was created on the docker tab, and then take a fairly good guess as to which tag corresponds to that date and use it if you need to roll back. I've never had an issue with any container ever updating. Mind you, I refuse to use Plex since most of their updates to the program is completely broken in the first place. If it is not recommanded to use "latest" for docker containers, is there a way (maybe plugin?) to use a specific version but also get notified if there is a newer version available? I personally would also like to see the changelog if there is a new version available. Are there any plans to implement such a feature in Unraid?
August 8, 20241 yr Community Expert Ok, a lot to review and explain here. Docker tab Advance toggle under version is some quick info via the web ui: If you are using docker, compose and have an update to the version. Unraid can lie as it is using docerkman in the background. To fix this edit the docker compose file. to have a pull policy and a label of: docker_service_name pull_policy: always restart: always labels: net.unraid.docker.managed: 'composeman' net.unraid.docker.shell: '/bin/sh' There is a known issue with the docker compose plugin and how unraid detects and claims there is an update. "The Dockerman system has its own method of storing the current and latest available version of docker images. Compose.Manager does not integrate with Dockerman in this respect" To update per plugin maintainer: Use this button.... Next commands to verify docker stuff via unraid web terminal. "Docker inspect" and "docker pull" See docker docs: https://docs.docker.com/reference/cli/docker/container/inspect/ https://docs.docker.com/reference/cli/docker/image/inspect/ https://docs.docker.com/reference/cli/docker/image/pull/ To get the docker version: https://forums.docker.com/t/how-to-find-out-container-version/98418 docker ps docker image inspect ${image id} --format '{{.RepoDigests}}' Bad example for photoprism: root@BMM-Unraid:~# docker image inspect photoprism/photoprism --format '{{.RepoDigests}}' [photoprism/photoprism@sha256:b8dc65e14808021dff7fdb60723fe7e7cd224db1fd356c4e3f1892fa4912e4e4] Then check the tag and 256 on docker hub... https://hub.docker.com/r/photoprism/photoprism https://hub.docker.com/layers/photoprism/photoprism/preview-ce/images/sha256-f894759f8ac3af0ceef82bd8121a1908692567d00de5102d321129274f265fb5?context=explore Then confirm your 256 with their index digest: THIS IS A MANUAL CHECK! The unraid backend script from docker man tries to cross-check this with compose made dockers and breaks... For this reason unraid has the This just pulls the dockers repositories. Otherwise one can use User script plugin: https://github.com/BrooksPatton/update-all-docker-images/blob/master/docker-images-update.sh which essentials grabs all the images and runs the docker pull command... BUT THIS WILL ONLY WORK FOR UNRAID INSTALLED DOCKERS, NOT COMPOSE! This is due to how the compose plugin works and how unraid is using docker man as its underline Damon to run dockers... There are talks with feature request to support and use docker compose and also support with docker podman. So if you have a docker made form compose and its saying it has an update, Its a false positive in unraids docerkman update check script.... Neither the compose plugin nor unriad take responsibility due to how they are implemented... (in which case you have the other button to update compose dockers...) Otherwise, if its not compose. Sometimes Unraid also has a hiccup and docker images need to be pruned and or become dangling images... You may need to click the docker and remove it and its image. (or click advance and remove the orphan dangling images) I hope this helps in understanding the docker update processes. Edited August 10, 20241 yr by bmartino1
January 25Jan 25 To get exact date of installation:Flash/config/plugins/dockerMan/templates-user and open the my-containerName.xml. Date Installed in in Epoch format.Note: does not seem to get re-stampted with updates, except maybe if update fails for whatever reason and you re-install with fixed parameters (speculation).
Thursday at 09:27 PM5 days My use case is dockers from the CA store. So even under Advanced view there is no way to see the current version and the target version for the update. So I can't tell if this is a minor or major update prior to updating. Is that right?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.