Sign inSign up

yannoff/mariadb-light-init

By yannoff

•Updated almost 9 years ago

Initialization image for mariadb-light.

Image
0

443

yannoff/mariadb-light-init repository overview

⁠yannoff/docker-mariadb-alpine/init

A light-weight MariaDB server⁠ docker⁠ image based on Alpine⁠.

⁠Usage

In the above examples, we'll assume the following use-case:

  • We'll use dbinit for the container name.
  • Persisted data is stored under /path/to/your/data on host machine.
  • Admin password for the mariadb server is your_root_password.
⁠Step one: run init image

From command-line, this image can be run directly using docker⁠.

docker run --rm --name dbinit -e MYSQL_ROOT_PASSWORD=your_root_password -v /path/to/your/data:/var/lib/mysql yannoff/mariadb-light-init
⁠Step two: remove init image
docker rmi -f yannoff/mariadb-light-init

Tag summary

Content type

Image

Digest

Size

49.1 MB

Last updated

almost 9 years ago

docker pull yannoff/mariadb-light-init