ojbc/mysql

By ojbc

Updated almost 7 years ago

MySQL Database Image

Image

681

An Alpine Linux based image for the MySQL (actually, mariadb) database server.

Maintained by the Open Justice Broker Consortium GitHub: https://github.com/ojbc/docker Dockerfile: https://github.com/ojbc/docker/blob/master/mysql/Dockerfile

Usage

The image does not expose any ports by default, as the OJBC standard approach is to use Weave (https://github.com/weaveworks/weave). If you want to expose ports, just extend the image and add an EXPOSE directive. MySQL is running on the default port, and is also open for network connections from anywhere. Obviously, this is a security risk for a "real" server (this image is intended to support the OJBC "sandbox" environment, and so is wide open). To remove the security risk, just create a derived container and change the CMD to remove the init-file that grants the network connectivity permissions.

Docker Pull Command

docker pull ojbc/mysql