spants Posted January 9, 2015 Share Posted January 9, 2015 Is there a way to list the base image version for each docker on the Docker tab? I have some templated Dockers that I update, but some manual ones too - it would be great to see what they are all based on, on the Docker list. Quote Link to comment
NAS Posted January 9, 2015 Share Posted January 9, 2015 Bizarrely this is not easy. It is one of my pet hates about docker and I am sure it will be addressed in time but curetnly you need to find the name of the template, locate its docker repo online then use that to find its githib page and check the dockerfile FROM line for the version you are using (as in theory it can easily change between versions) Quote Link to comment
saarg Posted January 9, 2015 Share Posted January 9, 2015 You do not have to go to the Github page to find the Dockerfile. The Docker file is also located at the docker repo. Quote Link to comment
NAS Posted January 9, 2015 Share Posted January 9, 2015 A docker file is there but since it lacks versioning it may not be the docker file that built the version you are using. Quote Link to comment
gfjardim Posted January 9, 2015 Share Posted January 9, 2015 A docker file is there but since it lacks versioning it may not be the docker file that built the version you are using. The Docker HUB actually show the Dockerfile content. Ex: https://registry.hub.docker.com/u/gfjardim/nzbget/dockerfile/ Quote Link to comment
sparklyballs Posted January 9, 2015 Share Posted January 9, 2015 A docker file is there but since it lacks versioning it may not be the docker file that built the version you are using. for an automated build it does Quote Link to comment
NAS Posted January 9, 2015 Share Posted January 9, 2015 OK so I am confused then. For example where can I see the dockerfile for phusion 0.9.12 https://registry.hub.docker.com/u/phusion/baseimage/ (edit: bad example since this is a base OS albeit one based on another base OS) or using this better example https://registry.hub.docker.com/u/gfjardim/nzbget/dockerfile/ how can I confirm the version I have matches my slightly older install.? Certainly the hub shows the latest dockerfile but I dont see how that can be assumed is an exact match for what i installed previously... or are we making the assumption to dockerfile is being reviewed at precisely the same time as container pull? Quote Link to comment
BRiT Posted January 9, 2015 Share Posted January 9, 2015 OK so I am confused then. For example where can I see the dockerfile for phusion 0.9.12 https://registry.hub.docker.com/u/phusion/baseimage/ (edit: bad example since this is a base OS albeit one based on another base OS) or using this better example https://registry.hub.docker.com/u/gfjardim/nzbget/dockerfile/ how can I confirm the version I have matches my slightly older install.? Certainly the hub shows the latest dockerfile but I dont see how that can be assumed is an exact match for what i installed previously... or are we making the assumption to dockerfile is being reviewed at precisely the same time as container pull? This is why I said Dockers should never use the 'latest' version tag and why I think unRAID is sort of abusing it. The version tag of the Docker file should be explicitly labeled and versioned and used in the Docker creation. Yes, without refinement in the Docker-Manager UI that is a bit of a PITA to the end user, but it is what's needed. The UI should browse the specified repository, pull all the tag versions on the Docker file and present that selection as a choice to the user. That way you will know exactly what you have in the Docker. Of course I'm also assuming the Docker follows the tenants of Docker and does not do abusive things like auto-updating. Quote Link to comment
NAS Posted January 10, 2015 Share Posted January 10, 2015 Yeah agreed but even then the docker hub doesnt show you dockerfiles for different tags does it or am I being blind? Quote Link to comment
saarg Posted January 10, 2015 Share Posted January 10, 2015 It only shows the Dockerfile for the latest build. Only the creator of the container can see the Dockerfile used to build the different builds. I didn't see any options so that everyone can see the Dockerfile of each build when I looked. Quote Link to comment
BRiT Posted January 10, 2015 Share Posted January 10, 2015 It only shows the Dockerfile for the latest build. Only the creator of the container can see the Dockerfile used to build the different builds. I didn't see any options so that everyone can see the Dockerfile of each build when I looked. You'd have the Docker file setup in a public viewable GIT repository and tagged with the same version tag as used on the Docker Registry. It would have to be by convention, since the registry seems to have limited functionality. Quote Link to comment
Recommended Posts
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.