I want to run database on CentOS Stream system using podman containers and access it with phpmyadmin that is running on another container. I created my mariadb container using this command:
podman run \
--name mariadb0 \
-p 3306:3306 \
-v /var/www/mariadb:/var/lib/mysql:Z \
-e MYSQL_ROOT_PASSWORD=password \
-d docker.io/library/mariadb
I can reach the database but I struggle to create phpmyadmin container which could be used to access my database. I don't know how to solve this. Do you have any idea how to do this?