How to Run MariaDB & phpMyAdmin in 3 steps using Docker

Miguel Doctor Yuste
6 min readOct 29, 2021

Note: This article is a version adapted to MariaDB of my post Run MySQL & phpMyAdmin locally in 3 steps using Docker

Installing a relational database with a web based management tool is a very common requirement for a wide range of software projects. Not too many years ago, developers needed to download and install these components manually into our local machines in order to be able to work. However, thanks to container based technologies like docker, we can get our environment up and running in 3 simple steps.

Environment

This step by step tutorial is written based on the following requirements:

Objectives

This tutorial aims to get up and running a fully functional platform with MariaDB + phpMyAdmin working on your local machine with the help of docker. Let’s briefly describe these elements.

MariaDB is a community developed, open source and commercially supported fork of the MySQL relational database management system. It has been developed by the original team in charge of MySQL with the compromise to stay open source. It is supported by most of the major cloud providers and available by default in most Linux distributions.

--

--

Miguel Doctor Yuste

Ph.D, AI Data Scientist, Software Engineer, Cloud Architect, Systems Engineer, happy father and happy husband :)