All In One Custom Mariadb MySQL For SQL Database Developer Docker Image

root (password root)
database (password 123456)
mysql (password not set, you can "su - mysql" from root)
$ docker load < mariadb.tgz
$  docker image lsREPOSITORY             TAG       IMAGE ID       CREATED          SIZE
jentekllc/mariadb latest fee607769a06 56 minutes ago 1.83GB
tar -xf mariadb_support_files.tar
$ docker-compose up -d
$ docker psCONTAINER ID   IMAGE                      COMMAND                  CREATED          STATUS          PORTS                                                                                                                           NAMES
8c679126338b jentekllc/mariadb:latest "/start_mysqld_sshd.…" 16 minutes ago Up 16 minutes>3306/tcp, :::3306->3306/tcp,>8888/tcp, :::8888->8888/tcp,>22/tcp, :::10022->22/tcp mariadb-container
$ docker-compose stop
ssh -p 10022 root@localhost
# su - mysql$ mysql -u root -p
Note: mysql root password is 123456
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 10.3.28-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.MariaDB [(none)]>



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
George Jen

George Jen


I am founder of Jen Tek LLC, a startup company in East Bay California developing AI powered, cloud based documentation/publishing software as a service.