{"id":5157,"date":"2021-05-18T15:44:39","date_gmt":"2021-05-18T15:44:39","guid":{"rendered":"https:\/\/www.how2shout.com\/linux\/?p=5157"},"modified":"2021-05-18T15:45:53","modified_gmt":"2021-05-18T15:45:53","slug":"install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql","status":"publish","type":"post","link":"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/","title":{"rendered":"Install PhpMyAdmin on Docker to manage MariaDB or MySQL"},"content":{"rendered":"<p><em>Not everyone is sound and habitual to use the database command line, hence PhpMyAdmin GUI is there to create, delete and manage MySQL or MariaDB database. Here we let you know how to install PhpMyAdmin on Docker Container.<\/em><\/p>\n<p><strong>What is PhpMyAdmin?<\/strong><\/p>\n<p>PhpMyAdmin is a web interface through which a user has direct access to a MySQL or MariaDB database. H\/she can use this graphical tool to interact with the database without having extensive knowledge of the commands used for the databases. It translates the selected function into the corresponding commands and applies them to the server or a special database.<\/p>\n<p>If you have ever used some hosting service then you would already be familiar with it. Because in WHM CPanel PhpMyAdmin comes as the default GUI application to manage databases.<\/p>\n<p><strong>Which functions does PhpMyAdmin offer?<\/strong><\/p>\n<p>From the GUI of the program, we can perform various tasks related to MySQL\/MariaDB relational database such as:<\/p>\n<ul>\n<li>Creation of a new database<\/li>\n<li>Deleting an existing database<\/li>\n<li>Add or Delete database users<\/li>\n<li>Copy the content to a new database<\/li>\n<li>Database Backup in SQL format<\/li>\n<li>Restoring from an existing backup<\/li>\n<li>Edit Database Tables<\/li>\n<li>Change of users and passwords<\/li>\n<li>Alter access rights<\/li>\n<\/ul>\n<h2>Command to install phpMyAdmin on Docker Container<\/h2>\n<h3>Docker Installation<\/h3>\n<p>I don&#8217;t know whether Docker is on your system or not. However, if you here for this tutorial then I am assuming you already have installed Docker on your Linux, macOS, or Windows system. Nevertheless, if not then follow the given articles:<\/p>\n<ul>\n<li><a title=\"How to install Docker CE on Rocky Linux 8\" href=\"https:\/\/www.how2shout.com\/linux\/how-to-install-docker-ce-on-rocky-linux-8\/\">How to install Docker CE on Rocky Linux\/AlmaLinux\/CentOS 8<\/a><\/li>\n<li><a title=\"How to install Docker-CE on Ubuntu 20.04 LTS Focal Fossa\" href=\"https:\/\/www.how2shout.com\/how-to\/how-to-install-docker-ce-on-ubuntu-20-04-lts-focal-fossa.html\">Tutorial to install Docker-container on Ubuntu 20.04 LTS\u2026<\/a><\/li>\n<li><a title=\"How to install Docker on Windows 10 using PowerShell with WSL 2 support\" href=\"https:\/\/www.how2shout.com\/how-to\/how-to-install-docker-on-windows-10-using-powershell-with-wsl-2-support.html\">Steps to install Docker on Windows 10<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>2. Pull phpMyAdmin Docker Image<\/h3>\n<p>If your system already has this container platform then the next step is to download the docker image of phpMyAdmin available on <a href=\"https:\/\/hub.docker.com\/_\/phpmyadmin\" target=\"_blank\" rel=\"noopener\"><strong>Docker Hub.\u00a0<\/strong><\/a> Here is the command to do that-<\/p>\n<pre>docker pull phpmyadmin<\/pre>\n<p><a href=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/05\/Command-to-download-docker-phpmyadmin-image.jpg\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5161\" title=\"Command to download docker phpmyadmin image\" src=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/05\/Command-to-download-docker-phpmyadmin-image.jpg\" alt=\"Command to download docker phpmyadmin image\" width=\"948\" height=\"475\" \/><\/a><\/p>\n<p><strong>To check and find the downloaded docker image name, run &#8211;<\/strong><\/p>\n<pre>docker images<\/pre>\n<p><a href=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/05\/find-the-downloaded-docker-image-name.jpg\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5162\" title=\"find the downloaded docker image name\" src=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/05\/find-the-downloaded-docker-image-name.jpg\" alt=\"find the downloaded docker image name\" width=\"664\" height=\"181\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>3. Create and Run phpMyAdmin Docker Container<\/h3>\n<p>Once we have the docker image of phpMyAdmin, the next step is to run the same to create a container. Please go through the below-given command.<\/p>\n<pre>docker run --name myh2sadmin -d -e PMA_ARBITRARY=1 -p 8080:80 phpmyadmin<\/pre>\n<p><strong>The explanation for the above command-<\/strong><\/p>\n<p><code>docker run<\/code> &#8211; This is a command to create and start a container using an image.<\/p>\n<p><code>--name <strong>myh2sadmin<\/strong><\/code>: By Default, while creating a container the system will assign some random name to it, this will create confusion when we want to remember its name to start or stop it. Thus, manually assign a name to our container. Here we are giving it <strong>myh2sadmin<\/strong> you can use whatever you want.<\/p>\n<p><code>-d <\/code>&#8211; This makes the container run in the background<\/p>\n<p><code>-e PMA_ARBITRARY=1<\/code> &#8211; We don&#8217;t want to assign some particular MySQL\/MariaDB database server to phpMyAdmin, thus this option will give us the ability to manually use the address of our Database server to connect and manage through the phpMyAdmin.<\/p>\n<p><code>-p 8080:80<\/code> : You cannot access PHPMyAdmin outside the docker container by default for that we have to forward or map its default port with the port of the host machine. The syntax is like this- <code>-p host-port:conainer-port<\/code>, where <strong>8080<\/strong> is the host port that we have mapped with the <strong>80<\/strong> port of the PHPMyAdmin container.<\/p>\n<p><code>phpmyadmin<\/code> &#8211; It is the name of the Docker image we have downloaded.<\/p>\n<p>&nbsp;<\/p>\n<h3>4. Access web interface locally or from outside (remotely)<\/h3>\n<p>Open browser on the host system and type <code>http:\/\/localhost:8080<\/code>, however, if you want to access the web interface in some remote system then first allow port <strong>8080<\/strong> in your host system&#8217;s firewall, you can follow the below given commands:<\/p>\n<p><strong>For Debian, Ubuntu, or their derivatives:<\/strong><\/p>\n<pre>sudo ufw allow 8080<\/pre>\n<p><strong>For RHEL\/CentOS\/Rocky Linux\/AlmaLinux<\/strong><\/p>\n<pre>sudo  firewall-cmd --zone=public --add-port=8080\/tcp --permanent<\/pre>\n<p>Now, <strong>open the browser on any system<\/strong> that can access the IP address of the host or system where you installed your docker.<\/p>\n<p>Type: <strong>http:\/\/host-ip-address:8080<\/strong><\/p>\n<p><strong>Example<\/strong>: http:\/\/192.168.189.172:8080\/<\/p>\n<p>You will get something like the below:<\/p>\n<p><a href=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/05\/Access-phpmyadmin-docker-container-from-outside.jpg\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5165\" title=\"Access phpmyadmin docker container from outside\" src=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/05\/Access-phpmyadmin-docker-container-from-outside.jpg\" alt=\"Access phpmyadmin docker container from outside\" width=\"985\" height=\"571\" \/><\/a><\/p>\n<h3>5. Enter Database Server Details<\/h3>\n<p>Here is the key part, suppose you have MySQL or MariaDB running on some <strong>Docker container or any remote server<\/strong>, to access that in the installed phpMyAdmin docker container, simply add its details:<\/p>\n<p>If your database server is on a docker container on the same host where the PHPMyAdmin container has been created, then first find the Ip-address of your database server using the below command:<\/p>\n<pre>docker inspect <strong>mariadbh2s<\/strong> | grep IPAddress<\/pre>\n<p>In the above command change the <strong>mariadbh2s<\/strong> with your Database container name. The output will be something like this:<\/p>\n<pre>\"Secondary<span style=\"color: #c95a22;\">IPAddresses<\/span>\": null,\r\n\"<span style=\"color: #c95a22;\">IPAddress<\/span>\": \"172.17.0.3\",\r\n       \"<span style=\"color: #c95a22;\">IPAddress\"<\/span>: \"172.17.0.3\",<\/pre>\n<p><strong>Note down<\/strong> the IP address and enter that in the PHPMyAdmin web interface box given for the <strong>server<\/strong> and then MySQL or MariaDB <strong>root<\/strong> user password.<\/p>\n<p>If your database server is on some remote server or cloud then enter the IP address of that along with <strong>username<\/strong> and <strong>password<\/strong>.<\/p>\n<p><strong>Note<\/strong>: In case your database server is running on some different port than the default one, then also mentioned that as well in the <strong>Server&#8217;s<\/strong> column.<\/p>\n<p><a href=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/05\/Add-remote-MariaDb-or-MySQl-server-details.jpg\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5166\" title=\"Add remote MariaDb or MySQl server details\" src=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/05\/Add-remote-MariaDb-or-MySQl-server-details.jpg\" alt=\"Add remote MariaDb or MySQl server details\" width=\"780\" height=\"538\" \/><\/a> <a href=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/05\/phpMyadmin-installation-of-Docker-container.jpg\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5167 size-full\" title=\"phpMyadmin installation of Docker container\" src=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/05\/phpMyadmin-installation-of-Docker-container.jpg\" alt=\"Remote database access in container GUI\" width=\"1330\" height=\"572\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Y<\/strong><strong>ou can also see our article<\/strong>&#8211; <a class=\"LinkSuggestion__Link-sc-1gewdgc-4 evyocv\" href=\"https:\/\/www.how2shout.com\/linux\/commands-to-install-run-mariadb-on-docker-container\/\" target=\"_blank\" rel=\"noopener\">Commands to Install &amp; Run MariaDB\u00a0 on Docker Container<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Other Articles:<\/strong><\/p>\n<ul>\n<li><a class=\"LinkSuggestion__Link-sc-1gewdgc-4 evyocv\" href=\"https:\/\/www.how2shout.com\/linux\/play-with-docker-learn-commands-terminal-online-free\/\" target=\"_blank\" rel=\"noopener\">How to run Docker terminal online for free to learn it- Play with<\/a><\/li>\n<li><a class=\"LinkSuggestion__Link-sc-1gewdgc-4 evyocv\" href=\"https:\/\/www.how2shout.com\/linux\/how-to-access-remote-mysql-database-in-local-phpmyadmin\/\" target=\"_blank\" rel=\"noopener\">How to access remote MySQL database in local phpMyAdmin<\/a><\/li>\n<li><a class=\"LinkSuggestion__Link-sc-1gewdgc-4 evyocv\" href=\"https:\/\/www.how2shout.com\/linux\/quick-steps-to-install-docker-ce-on-opensuse-linux\/\" target=\"_blank\" rel=\"noopener\">Quick Steps to Install Docker-CE on OpenSUSE Linux<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Not everyone is sound and habitual to use the database command line, hence PhpMyAdmin GUI is there to create, delete and manage MySQL or MariaDB database. Here we let you know how to install PhpMyAdmin on Docker Container. What is PhpMyAdmin? PhpMyAdmin is a web interface through which a user has direct access to a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":5167,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","_mbp_gutenberg_autopost":false,"footnotes":""},"categories":[4],"tags":[980,532,979,2373,2374,534],"class_list":{"0":"post-5157","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-linux","8":"tag-database","9":"tag-docker","10":"tag-mysql","11":"tag-phpmyadmin","12":"tag-remote-database","13":"tag-virtualization"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.9 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Install PhpMyAdmin on Docker to manage MariaDB or MySQL<\/title>\n<meta name=\"description\" content=\"Commands to install phpmyadmin on docker container to manage MySQL or MariaDB database server by accessing them remotely from outside.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install PhpMyAdmin on Docker to manage MariaDB or MySQL\" \/>\n<meta property=\"og:description\" content=\"Commands to install phpmyadmin on docker container to manage MySQL or MariaDB database server by accessing them remotely from outside.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxShout\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/how2shout\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-18T15:44:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-18T15:45:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2021\/05\/phpMyadmin-installation-of-Docker-container.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1330\" \/>\n\t<meta property=\"og:image:height\" content=\"572\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Heyan Maurya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@h2smedia\" \/>\n<meta name=\"twitter:site\" content=\"@h2smedia\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Heyan Maurya\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\\\/\"},\"author\":{\"name\":\"Heyan Maurya\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/person\\\/102d73e20384ea409022d5bafddc0f72\"},\"headline\":\"Install PhpMyAdmin on Docker to manage MariaDB or MySQL\",\"datePublished\":\"2021-05-18T15:44:39+00:00\",\"dateModified\":\"2021-05-18T15:45:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\\\/\"},\"wordCount\":854,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/phpMyadmin-installation-of-Docker-container.jpg\",\"keywords\":[\"database\",\"docker\",\"mysql\",\"phpmyadmin\",\"remote database\",\"virtualization\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linux.how2shout.com\\\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\\\/#respond\"]}],\"copyrightYear\":\"2021\",\"copyrightHolder\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\\\/\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\\\/\",\"name\":\"Install PhpMyAdmin on Docker to manage MariaDB or MySQL\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/phpMyadmin-installation-of-Docker-container.jpg\",\"datePublished\":\"2021-05-18T15:44:39+00:00\",\"dateModified\":\"2021-05-18T15:45:53+00:00\",\"description\":\"Commands to install phpmyadmin on docker container to manage MySQL or MariaDB database server by accessing them remotely from outside.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linux.how2shout.com\\\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/phpMyadmin-installation-of-Docker-container.jpg\",\"contentUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/phpMyadmin-installation-of-Docker-container.jpg\",\"width\":1330,\"height\":572,\"caption\":\"phpMyadmin installation of Docker container\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linux.how2shout.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install PhpMyAdmin on Docker to manage MariaDB or MySQL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#website\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/\",\"name\":\"LinuxShout\",\"description\":\"Find the open source solutions\",\"publisher\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"},\"alternateName\":\"Linux how2shout\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linux.how2shout.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\",\"name\":\"LinuxShout\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Linux-Shout-Logo.png\",\"contentUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Linux-Shout-Logo.png\",\"width\":503,\"height\":349,\"caption\":\"LinuxShout\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/how2shout\",\"https:\\\/\\\/x.com\\\/h2smedia\",\"https:\\\/\\\/instagram.com\\\/h2smedia\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/h2smedia\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/how2shout\",\"https:\\\/\\\/youtube.com\\\/h2smedia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/person\\\/102d73e20384ea409022d5bafddc0f72\",\"name\":\"Heyan Maurya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"caption\":\"Heyan Maurya\"},\"description\":\"I have a keen interest in all kinds of technologies, from consumer-tech to enterprise solutions. However, I am still trying to learn Linux and whatever the problems I face, trying to give solutions for the same, here...\",\"sameAs\":[\"https:\\\/\\\/www.how2shout.com\\\/\"],\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/author\\\/heyan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Install PhpMyAdmin on Docker to manage MariaDB or MySQL","description":"Commands to install phpmyadmin on docker container to manage MySQL or MariaDB database server by accessing them remotely from outside.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/","og_locale":"en_US","og_type":"article","og_title":"Install PhpMyAdmin on Docker to manage MariaDB or MySQL","og_description":"Commands to install phpmyadmin on docker container to manage MySQL or MariaDB database server by accessing them remotely from outside.","og_url":"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/","og_site_name":"LinuxShout","article_publisher":"https:\/\/www.facebook.com\/how2shout","article_published_time":"2021-05-18T15:44:39+00:00","article_modified_time":"2021-05-18T15:45:53+00:00","og_image":[{"width":1330,"height":572,"url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2021\/05\/phpMyadmin-installation-of-Docker-container.jpg","type":"image\/jpeg"}],"author":"Heyan Maurya","twitter_card":"summary_large_image","twitter_creator":"@h2smedia","twitter_site":"@h2smedia","twitter_misc":{"Written by":"Heyan Maurya","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/#article","isPartOf":{"@id":"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/"},"author":{"name":"Heyan Maurya","@id":"https:\/\/linux.how2shout.com\/#\/schema\/person\/102d73e20384ea409022d5bafddc0f72"},"headline":"Install PhpMyAdmin on Docker to manage MariaDB or MySQL","datePublished":"2021-05-18T15:44:39+00:00","dateModified":"2021-05-18T15:45:53+00:00","mainEntityOfPage":{"@id":"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/"},"wordCount":854,"commentCount":1,"publisher":{"@id":"https:\/\/linux.how2shout.com\/#organization"},"image":{"@id":"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/#primaryimage"},"thumbnailUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2021\/05\/phpMyadmin-installation-of-Docker-container.jpg","keywords":["database","docker","mysql","phpmyadmin","remote database","virtualization"],"articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/#respond"]}],"copyrightYear":"2021","copyrightHolder":{"@id":"https:\/\/linux.how2shout.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/","url":"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/","name":"Install PhpMyAdmin on Docker to manage MariaDB or MySQL","isPartOf":{"@id":"https:\/\/linux.how2shout.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/#primaryimage"},"image":{"@id":"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/#primaryimage"},"thumbnailUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2021\/05\/phpMyadmin-installation-of-Docker-container.jpg","datePublished":"2021-05-18T15:44:39+00:00","dateModified":"2021-05-18T15:45:53+00:00","description":"Commands to install phpmyadmin on docker container to manage MySQL or MariaDB database server by accessing them remotely from outside.","breadcrumb":{"@id":"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/#primaryimage","url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2021\/05\/phpMyadmin-installation-of-Docker-container.jpg","contentUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2021\/05\/phpMyadmin-installation-of-Docker-container.jpg","width":1330,"height":572,"caption":"phpMyadmin installation of Docker container"},{"@type":"BreadcrumbList","@id":"https:\/\/linux.how2shout.com\/install-phpmyadmin-on-docker-to-manage-mariadb-or-mysql\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linux.how2shout.com\/"},{"@type":"ListItem","position":2,"name":"Install PhpMyAdmin on Docker to manage MariaDB or MySQL"}]},{"@type":"WebSite","@id":"https:\/\/linux.how2shout.com\/#website","url":"https:\/\/linux.how2shout.com\/","name":"LinuxShout","description":"Find the open source solutions","publisher":{"@id":"https:\/\/linux.how2shout.com\/#organization"},"alternateName":"Linux how2shout","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linux.how2shout.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/linux.how2shout.com\/#organization","name":"LinuxShout","url":"https:\/\/linux.how2shout.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linux.how2shout.com\/#\/schema\/logo\/image\/","url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2020\/06\/Linux-Shout-Logo.png","contentUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2020\/06\/Linux-Shout-Logo.png","width":503,"height":349,"caption":"LinuxShout"},"image":{"@id":"https:\/\/linux.how2shout.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/how2shout","https:\/\/x.com\/h2smedia","https:\/\/instagram.com\/h2smedia","https:\/\/www.linkedin.com\/company\/h2smedia\/","https:\/\/www.pinterest.com\/how2shout","https:\/\/youtube.com\/h2smedia"]},{"@type":"Person","@id":"https:\/\/linux.how2shout.com\/#\/schema\/person\/102d73e20384ea409022d5bafddc0f72","name":"Heyan Maurya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","caption":"Heyan Maurya"},"description":"I have a keen interest in all kinds of technologies, from consumer-tech to enterprise solutions. However, I am still trying to learn Linux and whatever the problems I face, trying to give solutions for the same, here...","sameAs":["https:\/\/www.how2shout.com\/"],"url":"https:\/\/linux.how2shout.com\/author\/heyan\/"}]}},"_links":{"self":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/5157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/comments?post=5157"}],"version-history":[{"count":9,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/5157\/revisions"}],"predecessor-version":[{"id":5173,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/5157\/revisions\/5173"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/media\/5167"}],"wp:attachment":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/media?parent=5157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/categories?post=5157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/tags?post=5157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}