phpmyadmin / docker

Docker container for phpMyAdmin
https://hub.docker.com/_/phpmyadmin
GNU General Public License v3.0
665 stars 455 forks source link

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

Open ThibaultVlacich opened 3 years ago

ThibaultVlacich commented 3 years ago

Hi,

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

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?

williamdes commented 3 years ago

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

ibennetch commented 3 years ago

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.

williamdes commented 3 years ago

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 :)

blelem commented 2 years ago

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?

williamdes commented 2 years ago

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 commented 2 years ago

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

blelem commented 2 years ago

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.

williamdes commented 2 years ago

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