Skip to content

Instantly share code, notes, and snippets.

@pawan5209
pawan5209 / phpmyadmin-in-docker.md
Created July 10, 2025 08:22 — forked from poudelmadhav/phpmyadmin-in-docker.md
Run phpmyadmin in docker and connect to local mysql

Run phpmyadmin in docker

Find the ip address running this command:

ip addr show docker0 | grep inet

This will be the PMA_HOST in below steps. The PMA_HOST of local machine is like this: 172.17.0.1

Now, run phppmyadmin on docker.