Giter Club home page Giter Club logo

docker-mysql's Introduction

MySQL Docker images

Tag lint build nightly License

Discord Discourse

Available Architectures: amd64, arm64

The purpose of this project is to streamline and re-tag the official Docker images for MySQL, MariaDB and Percona in order to use them for the Devilbox project.

๐Ÿฑ GitHub: devilbox/docker-mysql
Current Project Reference Implementation
Streamlined MySQL images The Devilbox

๐Ÿ‹ Available Docker tags

mysql-5.5 mysql-5.6 mysql-5.7 mysql-8.0

mariadb-5.5 mariadb-10.0 mariadb-10.1 mariadb-10.2 mariadb-10.3 mariadb-10.4 mariadb-10.5 mariadb-10.6 mariadb-10.7 mariadb-10.8 mariadb-10.9 mariadb-10.10

percona-5.5 percona-5.6 percona-5.7 percona-8.0

docker pull devilbox/mysql:<docker-tag>

โœฐ Additional features

The provided images are purely based on their official counterparts, however they have also been slightly customized/enhanced additions added:

  • An additional *.cnf config directory is provided: /etc/mysql/docker-default.d/. This is necessary as the default config directory already contains *.cnf files and you might want to keep them and still be able to additionally provide custom files
  • MySQL 8.0 and Percona 8.0 by default use a new authentication mechanism which is not (yet) understood by PHP's mysqli extension. For those two images, the old authentication mechanism mysql_native_password has been re-enabled, so you can still use it with your current PHP code.

โˆ‘ Environment Variables

Same as official Docker images:

๐Ÿ–ง Exposed Ports

MySQL listening port 3306

๐Ÿ“‚ Volumes

The mountpoints for configuration files have been streamlined for all images in this repository.

Path Description
/etc/mysql/conf.d Default primary config mountpoint
/etc/mysql/docker-default.d/ Additional secondary config mountpoint

โˆข Build

Build MySQL 5.5 Docker image locally

make build NAME=mysql VERSION=5.5

Build MariaDB 10.10 Docker image for arm64 locally

make build NAME=mariadb VERSION=10.10 ARCH=linux/arm64

๐Ÿ›ˆ Retagging of official images

The below listed tables show how the official images have been retagged.

MySQL

Original Image and Tag New Image and Tag Available platforms
mysql:5.5 devilbox/mysql:mysql-5.5 amd64
mysql:5.6 devilbox/mysql:mysql-5.6 amd64
mysql:5.7 devilbox/mysql:mysql-5.7 amd64
mysql:8.0 devilbox/mysql:mysql-8.0 amd64, arm64

MariaDB

Original Image and Tag New Image and Tag Available platforms
mariadb:5.5 devilbox/mysql:mariadb-5.5 amd64
mariadb:10.0 devilbox/mysql:mariadb-10.0 amd64
mariadb:10.1 devilbox/mysql:mariadb-10.1 amd64, arm64
mariadb:10.2 devilbox/mysql:mariadb-10.2 amd64, arm64
mariadb:10.3 devilbox/mysql:mariadb-10.3 amd64, arm64
mariadb:10.4 devilbox/mysql:mariadb-10.4 amd64, arm64
mariadb:10.5 devilbox/mysql:mariadb-10.5 amd64, arm64
mariadb:10.6 devilbox/mysql:mariadb-10.6 amd64, arm64
mariadb:10.7 devilbox/mysql:mariadb-10.7 amd64, arm64
mariadb:10.8 devilbox/mysql:mariadb-10.8 amd64, arm64
mariadb:10.9 devilbox/mysql:mariadb-10.9 amd64, arm64
mariadb:10.10 devilbox/mysql:mariadb-10.10 amd64, arm64

Percona

Original Image and Tag New Image and Tag Available platforms
percona:5.5 devilbox/mysql:percona-5.5 amd64
percona:5.6 devilbox/mysql:percona-5.6 amd64
percona:5.7 devilbox/mysql:percona-5.7 amd64
percona:8.0 devilbox/mysql:percona-8.0 amd64

๐Ÿ–ค Sister Projects

Show some love for the following sister projects.

๐Ÿ–ค Project ๐Ÿฑ GitHub ๐Ÿ‹ DockerHub
Devilbox
docker-php-fpm devilbox/php-fpm
docker-php-fpm-community devilbox/php-fpm-community
docker-mysql devilbox/mysql
docker-apache-2.2
docker-apache-2.4
docker-nginx-stable
docker-nginx-mainline
devilbox/apache-2.2
devilbox/apache-2.4
devilbox/nginx-stable
devilbox/nginx-mainline

๐Ÿ‘ซ Community

In case you seek help, go and visit the community pages.

devilbox.readthedocs.io discord/devilbox devilbox.discourse.group

๐Ÿง˜ Maintainer

@cytopia

I try to keep up with literally over 100 projects besides a full-time job. If my work is making your life easier, consider contributing. ๐Ÿ–ค

Findme: ๐Ÿฑ cytopia / devilbox | ๐Ÿ‹ cytopia / devilbox | ๐Ÿฆ everythingcli / devilbox | ๐Ÿ“– everythingcli.org

Contrib: PyPI: cytopia ยท Terraform: cytopia ยท Ansible: cytopia

๐Ÿ—Ž License

MIT License

Copyright (c) 2019 cytopia

docker-mysql's People

Contributors

cytopia avatar dependabot[bot] avatar dvlbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-mysql's Issues

[Feature]: add newest MariaDB version 11.0, 11.1, 11.2.

What is your idea or feature suggestion?

add newest MariaDB version 11.0, 11.1, 11.2.

Benefits

able to test new mariadb version

Where can we find information about this?

No response

Are you willing to provide a PR to address this?

None

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.