MariaDB Dockerfile for trusted automated Docker builds.
This repository contains Dockerfile of MariaDB for Docker’s automated build published to the public Docker Hub Registry.
Install Docker.
Download automated build from public Docker Hub Registry: docker pull dockerfile/mariadb
(alternatively, you can build an image from Dockerfile: docker build -t="dockerfile/mariadb" github.com/dockerfile/mariadb)
mysqld-safedocker run -d --name mysql -p 3306:3306 dockerfile/mariadb
mysqldocker run -it --rm --link mysql:mysql dockerfile/mariadb bash -c 'mysql -h $MYSQL_PORT_3306_TCP_ADDR'