docker-compose.yml for MariaDB

Last Updated on

This post provides a another basic docker-compose.yml .This time is to create a MariaDB container with initial user accounts.

Tested with:

  1. Docker for Windows
  2. MariaDB 10
  3. Windows 10


How to Use

Open a Windows Command Line prompt and cd to the directory where the docker-compose.yml  file is. Then, run the following commands

1. Pull the image from Docker Hub to the local machine.

2. Create and Run a MariaDB container

Karl San Gabriel

Karl San Gabriel

Professional Software Developer