Which distribution does the docker image work on?

guys, I just got to know docker. I have a question

. < H2 > Environment: host centos7 < / H2 >

I now pull the image
docker pull 1and1internet/ubuntu-16-nginx-php-phpmyadmin-mariadb-10
which means that eventually the container I"m running is nginx-php-phpmyadmin-mariadb-10
on ubuntu, but if I pull
docker pull webdevops/php-apache-dev

The < H2 > image does not contain a distribution, so what version is this container based on? Host? < / H2 >

I don"t know whether the question is correct or not. I hope all the bosses will correct and criticize

.
Jan.25,2022

Images are layered dependent. If you look at what webdevops/php-apache-de depends on, you can find out which distribution you are using layer by layer.

if you simply want to know which distribution it is, you can run a container and use the linux command to see it.


latest

Menu