Public | Automated Build

Last pushed: 7 days ago
Short Description
Contains mysql.
Full Description

mysql-docker

Overview

This docker image contains mysql.

Entrypoint Scripts

mysql

The embedded entrypoint script is located at /etc/entrypoint.d/20mysql and performs the following actions:

  1. A new mysql configuration is generated using the following environment variables:

    | Variable | Default Value | Description |
    | ---------| ------------- | ----------- |
    | MYSQL_ROOT_PASSWORD | random | The mysql root password. |
    | MYSQL_DATABASE | | If defined, a database with the given name will be created. |
    | MYSQL_USER | | If defined, a user with the given name will be created. |
    | MYSQL_USER_PASSWORD | random | The mysql <user> password. |

Standard Configuration

Container Layout

/
├─ etc/
│  └─ entrypoint.d/
│     └─ 20mysql
├─ root/
│  ├─ mysql_root_password
│  └─ mysql_user_password
└─ var/
   └─ lib/
      └─ mysql/

Exposed Ports

  • 3306/tcp - mysql listening port.

Volumes

  • /var/lib/mysql - The mysql data directory.

Development

Source Control

Docker Pull Command
Owner
crashvb
Source Repository

Comments (0)