Sign inSign up

8ct8pus/mariadb-alpine

By 8ct8pus

•Updated over 1 year ago

A super light MariaDB installation on top of Alpine Linux for development purposes

Image
1

3.0K

8ct8pus/mariadb-alpine repository overview

⁠project description

A super light docker MariaDB installation on top of Alpine Linux for development purposes

  • MariaDB 10.5.11
  • zsh 5.8

The docker image size is 181 MB.

⁠cool features

  • MariaDB configuration files are exposed on the host.
  • All changes to the config files are automatically applied (hot reload).

⁠start container

docker-compose up

⁠connect to database

hostname: localhost
port: 3306
user: root
password: 123 (ROOT_PASSWORD environmental variable)

⁠get console to container

docker exec -it mariadb zsh

⁠build docker image

docker build -t mariadb-alpine:dev .

⁠extend the docker image

In this example, we add curl.

docker-compose up --detach
docker exec -it mariadb zsh
apk add curl
exit

docker-compose stop
docker commit mariadb mariadb-alpine-curl:dev

To use the new image, update the image link in the docker-compose file.

⁠more info about the image

https://wiki.alpinelinux.org/wiki/MariaDB

Tag summary

Content type

Image

Digest

Size

57.8 MB

Last updated

about 5 years ago

docker pull 8ct8pus/mariadb-alpine