November 5, 20223 yr Not sure if this is the correct forum for this question. But i have a docker container that i do not want it to be updated anymore and stay at where it is right now because it is a crucial application for some of the stuff i am running on unraid. The particular docker container is MariaDB (lscr.io/linuxserver/mariadb) Since it is just set to lscr.io/linuxserver/mariadb it will always grab the latest from list: https://hub.docker.com/r/linuxserver/mariadb/tags But i don't want to update it, i want to make it stay where it is now. How can i figure out which exact version it is running right now? docker ps just shows "lscr.io/linuxserver/mariadb" Any ideas? Edited November 5, 20223 yr by je82
November 5, 20223 yr Author Solution You can find the digest used by running Quote docker image inspect --format '{{index .RepoDigests 0}}' lscr.io/linuxserver/mariadb:latest Replace "lscr.io/linuxserver/mariadb:latest" with whatever the id of the container you want to extract the digest from But i could not find the exact digest among the tags so i had to query database by running SELECT @@version; which gave me the version and solved the issue. Edited November 5, 20223 yr by je82
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.