How Do You Install MariaDB and Start the MariaDB Service in an Ubuntu-Based Docker Container?

Problem scenario
In an Ubuntu-based Docker container, how do you install MariaDB and start the MariaDB service?

Run these commands:

sudo apt-get -y update
sudo apt-get -y install vim
sudo apt-get install mariadb-server
sudo service mysql start

Leave a comment

Your email address will not be published. Required fields are marked *