My project works, I have no support request this time, but I only have 2 small doubts. If you allow a simple chat. Forgive the double question in the same post but it’s a very simple thing.
Question 1
I have a Dockerfile describing an image. I want to use this image to create 2 different containers. Is it right to do it this way?
service-a:
build: ./apache-php
image: image-apache-php-eb:v.1.0
...
service-b:
build: ./apache-php
image: image-apache-php-eb:v.1.0
...
Question 2
When I search on Docker Hub I am always spoiled for choice. For example is it better ‘mysql:8.0.30’ or ‘mysql:8.0.30-debian’? What is the difference? Which criteria should I use to choose?
Among these images that I use, are there any that you would suggest me to change?
mysql:8.0.30
php:8.0.24RC1-apache
wordpress:6.0.2
phpmyadmin:5.2.0
The question is not about the version number but what comes next (alpine, cli, etc …). Most of the time I choose at random.