Docker HubでホストされているDOCKER OFFICIAL IMAGE

DOCKER OFFICIAL IMAGEのソースは Docker Official Images で管理されている。

PHP

php を例にする。

screencapture-hub-docker-php-2023-05-27-11_12_42

上記は REDME に記載されている。 特に以下の点に注意する。

Supported tags and respective Dockerfile links Note: the description for this image is longer than the Hub length limit of 25000, so the “Supported tags” list has been trimmed to compensate. See also docker/hub-feedback#238 and docker/roadmap#475.

See “Supported tags and respective Dockerfile links” at https://github.com/docker-library/docs/tree/master/php/README.md

現在サポートされているバージョンは Supported tags and respective Dockerfile links に明記するが、文字数の制限から https://github.com/docker-library/docs/tree/master/php/README.md を見るようにと記載されている

DOCKER OFFICIAL IMAGEであってもタグによってはサポート外になっているものもある

Dockerfile

php のDOCKER OFFICIAL IMAGE ソースは docker-library / php でホストされている。 Dockerfile がホストされているので ベースイメージを確認する際などに便利。

ベースイメージ

php の latest のベースイメージは Debian が使われている

Debian

Debian バージョン

https://www.debian.org/releases/

Debian Github Repository

https://github.com/debuerreotype/docker-debian-artifacts

各アーキテクチャ毎にブランチが存在。 master ブランチは README などのみ。

例 i386 => https://github.com/debuerreotype/docker-debian-artifacts/tree/dist-i386