Skip to content

Instantly share code, notes, and snippets.

@caugner
Last active January 6, 2019 22:45
Show Gist options
  • Save caugner/e1657b18ffe6b82ce0e2c9d9803c07db to your computer and use it in GitHub Desktop.
Save caugner/e1657b18ffe6b82ce0e2c9d9803c07db to your computer and use it in GitHub Desktop.
phpmyadmin with local server (docker)
#!/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