Sign inSign up

greedybytes/percona

By greedybytes

•Updated over 3 years ago

Percona 5.7 docker image with arm64 support.

Image
0

368

greedybytes/percona repository overview

⁠Introduction

The image creation is based on the official Percona docker images. Therefore the usage is similar to these official images.

Important: This image is for development purpose only. Unlike in the official repositories, the root user starts the mysqld.

⁠Why?

There are no official arm64 images for Percona 5.7.

⁠How to use this image

Please read also the official documentation⁠.

⁠docker-compose

version: '3.8'

services:
    percona:
        image: greedybytes/percona:5.7-bullseye-arm64
        environment:
            MYSQL_ROOT_PASSWORD: 'my-secret-password'

⁠Environment Variables

⁠MYSQL_ROOT_PASSWORD

This variable is mandatory and specifies the password that will be set for the root superuser account.

⁠MYSQL_ROOT_HOST

By default, root can connect from anywhere. This option restricts root connections to be from the specified host only. Also localhost can be used here for the local-only root access.

⁠MYSQL_DATABASE

This variable is optional and allows you to specify the name of a database to be created on image startup. If a user/password was supplied (see below) then that user will be granted superuser access (corresponding to GRANT ALL) to this database.

⁠MYSQL_USER, MYSQL_PASSWORD

These variables are optional, used in conjunction to create a new user and to set that user's password. This user will be granted superuser permissions (see above) for the database specified by the MYSQL_DATABASE variable. Both variables are required for a user to be created.

Do note that there is no need to use this mechanism to create the root superuser, that user gets created by default with the password specified by the MYSQL_ROOT_PASSWORD variable.

⁠MYSQL_ALLOW_EMPTY_PASSWORD

This is an optional variable. Set to yes to allow the container to be started with a blank password for the root user. NOTE: Setting this variable to yes is not recommended unless you really know what you are doing, since this will leave your instance completely unprotected, allowing anyone to gain complete superuser access.

⁠MYSQL_INITDB_SKIP_TZINFO

At first run MySQL automatically loads from the local system the timezone information needed for the CONVERT_TZ() function. If it's is not what is intended, this option disables timezone loading.

Tag summary

Content type

Image

Digest

sha256:a7d37d814…

Size

205.1 MB

Last updated

over 3 years ago

docker pull greedybytes/percona:5.7-bullseye-arm64