Skip to content

Instantly share code, notes, and snippets.

@FredyRosero
Last active October 23, 2022 21:56
Show Gist options
  • Save FredyRosero/23841518f5b5dbb77428250fbea1c0f1 to your computer and use it in GitHub Desktop.
Save FredyRosero/23841518f5b5dbb77428250fbea1c0f1 to your computer and use it in GitHub Desktop.
PHhpMyAdmin en Docker + MySQL en host: Con antelación tenemos un servidor MySQL corriendo en el host en 0.0.0.0:3306
docker run -dit --name phpmyadmin \
-e PMA_HOST=host.docker.internal \
--add-host=host.docker.internal:host-gateway \
-p 8080:80 \
phpmyadmin
docker exec -it phpmyadmin /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment