Docker, MySQL

docker-compose.yml for MySQL

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

Tested with:

  1. Docker for Windows
  2. MySQL 8
  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

This post is part of the Docker For Developers tutorial.

You Might Also Like

One comment

  1. 1

Comments are closed.