I would like to always pull a specific version, rather than just the latest.
A random example: https://registry.hub.docker.com/u/aespinosa/jenkins/builds_history/9511/
I am doing this because I only want to deploy versions that I have audited. Is this currently possible? Or am I forced to fork them and make my own?
The way I do it is to tag each build
and then you pull the specific tag
You can pull a specific image by digest by using the following syntax:
If you need to find the hash, it is output when pushing/pulling the image. Some automated builds output it at the end. I tried looking for the hash with
docker inspect
but it didn't appear to be there, so you'll have to delete the image and pull it again to view the hash.