0
Using the file Docker-Compose.yml to ride my containers, I know I can choose any version for the chosen service, for example: mariadb: or mariadb:10.4. But using the settings for phpMyAdmin, if there is a container on my machine, from an old project, how can I update it and in case if I am going to assemble a new one, how to pull a specific version? I didn’t find anything on the Docker hub in relation to that.
version: "3"
services:
db:
image: mariadb:latest
ports:
- "3306:3306"
pma:
image: phpmyadmin/phpmyadmin
environment:
PMA_ARBITRARY: 1
PMA_HOST: db
PMA_USER: dev
PMA_PASSWORD: dev123
PHP_UPLOAD_MAX_FILESIZE: 1G
PHP_MAX_INPUT_VARS: 1G
restart: always
ports:
- "8001:80"
volumes:
- ./src/sessions:/sessions
The funny thing is that it is an official image and has Owner (https://hub.docker.com/r/phpmyadmin/phpmyadmin/). I had asked the question, because it did not pull old version.
– Fabiano Monteiro
But exactly what you said, "not necessarily the version you want may be available ".
– Fabiano Monteiro
Official image, are images published by Docker. This repository is from vendor. This is not considered official image (it’s kind of a convention). The official images are here https://hub.docker.com/search?q=&type=image&image_filter=official
– Luiz Carlos Faria