Last active
January 6, 2019 22:45
-
-
Save caugner/e1657b18ffe6b82ce0e2c9d9803c07db to your computer and use it in GitHub Desktop.
phpmyadmin with local server (docker)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
docker pull phpmyadmin/phpmyadmin | |
docker stop myadmin || true | |
docker rm myadmin || true | |
docker run --name myadmin -d --network="host" -e PMA_HOST=127.0.0.1 phpmyadmin/phpmyadmin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment