A feather-weight MariaDB server image.
479
This image is to be used in conjonction with yannoff/mariadb-light-init at first run.
A light-weight MariaDB server docker image based on Alpine.
In the above examples, we'll assume the following use-case:
dbserver for the service name./path/to/your/data on host machine.3307 from host machine.your_root_password.From command-line, this image can be run directly using docker.
docker run --rm --name dbserver -e MYSQL_ROOT_PASSWORD=your_root_password -v /path/to/your/data:/var/lib/mysql -p 3307:3306 yannoff/mariadb-light
This image is ready for use in a docker-compose stack.
# docker-compose.yml
dbserver:
image: yannoff/mariadb-light
ports:
- "3307:3306"
volumes:
- /path/to/your/data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD: you_root_password
Then start your stack using docker-compose command-line.
docker-compose up -d
Content type
Image
Digest
Size
49.1 MB
Last updated
almost 9 years ago
docker pull yannoff/mariadb-light