-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Rakotomandimby Mihamina edited this page May 12, 2023
·
4 revisions
- Installer Docker
- Run container Fedora
- Run container Ubuntu
docker network inspect bridge
...
{
"Subnet": "172.17.0.0/16",
"Gateway": "172.17.0.1" <====== Mettre cette IP en dessous
} |
...
docker run --name mariadb1 \
-e MARIADB_ROOT_PASSWORD=insi \
-e MARIADB_DATABASE=insi \
-e MARIADB_USER=insi \
-e MARIADB_PASSWORD=insi \
--publish 3306:3306 mariadb:latest
docker run --name pma1 -e PMA_HOST=172.17.0.1 -p 8080:80 phpmyadmin
docker run --name pg \
-e POSTGRES_PASSWORD=insi \
-e POSTGRES_USER=insi \
-e POSTGRES_DB=insi \
--publish 5432:5432 postgres
docker run --name pgadmin \
-e [email protected] \
-e PGADMIN_DEFAULT_PASSWORD=insi \
-e PGADMIN_DISABLE_POSTFIX=yes \
--publish 9080:80 dpage/pgadmin4