Files
dockerfiles/mariadb
2016-11-15 11:20:46 -06:00
..
2016-08-23 15:49:42 -05:00
2016-08-23 15:49:42 -05:00
2016-10-21 09:49:23 -05:00

MariaDB

This provides a Clear Linux* MariaDB

Build

docker build -t clearlinux/mariadb .

Or just pull it from Dockerhub

docker pull clearlinux/mariadb

Start MariaDB Container

YOUR_HOST=`hostname -f`
docker run --name mariadb -p 3306:3306 -e MYSQL_ROOT_PASSWORD=secret -d clearlinux/mariadb
# Test it
mysql -uroot -h $YOUR_HOST -psecret -e "show databases;"

Environment Variables

  • MYSQL_ROOT_PASSWORD specifies MariaDB root password

Extra Build ARGs

  • swupd_args Specifies SWUPD flags

Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#/arg