Sign inSign up

kubelauncher/mysql

By kubelauncher

•Updated 1 day ago

mysql packaged with love by KubeLauncher

Image
0

6.4K

kubelauncher/mysql repository overview

⁠MySQL

Built by KubeLauncher⁠ — production-grade, open-source, community-first.

Production-ready, broadly compatible MySQL relational database image based on Ubuntu 24.04. Includes MySQL server and client. Designed for Kubernetes, built for everyone.

⁠Supported Tags

  • 8.0, 8, latest

Tags follow semantic versioning. Each push also generates a sha-<commit> tag for pinning to exact builds.

⁠Quick Start

docker run -d --name mysql \
  -e MYSQL_ROOT_PASSWORD=mysecretpassword \
  -e MYSQL_DATABASE=myapp \
  -e MYSQL_USER=appuser \
  -e MYSQL_PASSWORD=apppass \
  ghcr.io/kubelauncher/mysql:8.0

⁠Environment Variables

VariableDefaultDescription
MYSQL_PORT_NUMBER3306Port MySQL listens on
MYSQL_DATA_DIR/data/mysql/dataPath to the data directory
MYSQL_ROOT_PASSWORD(none)Password for the root user
MYSQL_DATABASE(none)Name of a database to create on first run
MYSQL_USER(none)Name of a user to create on first run
MYSQL_PASSWORD(none)Password for the new user
MYSQL_EXTRA_FLAGS(none)Additional flags passed to mysqld

⁠Ports

PortDescription
3306MySQL server

⁠Data Persistence

Data is stored in /data/mysql/. Mount a volume to persist data:

docker run -d -v mysql-data:/data/mysql ghcr.io/kubelauncher/mysql:8.0

⁠Init Scripts

Place .sh, .sql, or .sql.gz files in /docker-entrypoint-initdb.d/ to run them on first initialization:

docker run -d \
  -v ./init.sql:/docker-entrypoint-initdb.d/init.sql:ro \
  ghcr.io/kubelauncher/mysql:8.0

⁠Helm Chart

A production-ready Helm chart is available:

helm install my-mysql oci://ghcr.io/kubelauncher/charts/mysql

šŸ“¦ View on ArtifactHub⁠

⁠About KubeLauncher

Built by KubeLauncher — production-grade, open-source, community-first.

Need a production Kubernetes platform? Let's talk⁠.

⁠License

Apache-2.0

Tag summary

Content type

Image

Digest

sha256:b25f98e6a…

Size

124.7 MB

Last updated

1 day ago

docker pull kubelauncher/mysql