Catégories
Uncategorized

Docker

image_pdfimage_print

MariaDB

Docker Hub : mariadb

Start a MariaDB instance (it will expose port 3306)

docker run --name some-mariadb -e MYSQL_ROOT_PASSWORD=mysecretpassword -d mariadb

Linking an application

docker run --name some-app --link some-mariadb:mysql -d application-that-uses-mysql

Laisser un commentaire