docker icon indicating copy to clipboard operation
docker copied to clipboard

What's the difference between the two Docker Hub image?

Open ThibaultVlacich opened this issue 3 years ago • 8 comments

Hi,

Sorry if it's already been answered by I could not found anything. Currently, there are two separate images on Docker hub:

  • https://hub.docker.com/r/phpmyadmin/phpmyadmin/
  • https://hub.docker.com/_/phpmyadmin

On this repo, links to both are available. The README links the second one, the link in the right column to the first. The first one seems to be "legacy" (old url before you had the main "phpmyadmin" repo), but is also the most up-to-date?

ThibaultVlacich avatar Feb 24 '21 10:02 ThibaultVlacich

This is because the official Docker hub repository manually approves any of our changes before merging it in the official repository. So ours is always up to date but theirs always has audited changes in it. Safer and more support for different architectures

williamdes avatar Feb 24 '21 12:02 williamdes

Additionally to what William said, the first one has existed for much longer than the second one and now that we have the officially-endorsed repository, we do not want to abandon any users who are still on the "legacy" repository.

Let's leave this ticket open for now as an action item for me to improve the documentation for this matter.

ibennetch avatar Feb 24 '21 12:02 ibennetch

And from what I know official repositories are always synced with the source one. So it is not legacy but just no more the official one :)

williamdes avatar Feb 24 '21 13:02 williamdes

The official Docker hub image (https://hub.docker.com/_/phpmyadmin?tab=tags) is reported to be updated 20 days ago, while the last update for phpmyadmin/phpmyadmin is reported to be 6 months ago (https://hub.docker.com/r/phpmyadmin/phpmyadmin/tags)

The official docker image works for me, while when I try the phpmyadmin/phpmyadmin image, I get a failure to connect to the MySql dB. Could there currently be some important difference between the 2 images?

blelem avatar Jan 11 '22 19:01 blelem

The official docker image works for me, while when I try the phpmyadmin/phpmyadmin image, I get a failure to connect to the MySql dB. Could there currently be some important difference between the 2 images?

Normally there is no difference, but they may trigger re builds for some reason. This is probably why it looks updated more recently

williamdes avatar Jan 12 '22 00:01 williamdes

But the source file has not changed since last update: https://github.com/docker-library/official-images/blob/master/library/phpmyadmin

So probably an internal re-build of the image, maybe for security purposes

williamdes avatar Jan 12 '22 00:01 williamdes

Thanks @williamdes for taking the time to look it up! I didn't knew Docker were building/re-building the official images, I thought that they were just hosting them. Anyway, looks like my issue is due to something else. I'll keep on looking.

blelem avatar Jan 12 '22 18:01 blelem

Thanks @williamdes for taking the time to look it up! I didn't knew Docker were building/re-building the official images, I thought that they were just hosting them. Anyway, looks like my issue is due to something else. I'll keep on looking.

Thanks :) You can see it was build 21 days ago: https://doi-janky.infosiftr.net/job/multiarch/job/amd64/job/phpmyadmin/

So all this makes sense

williamdes avatar Jan 12 '22 19:01 williamdes