Just run:
curl https://gist.githubusercontent.com/tcoupin/af82bbbf5de516d186c1f2170ae5d0c4/raw/setup.sh | bash
Notes:
- on close, the container is not close.
- default email : [email protected], default password admin
- a volume named "pgadmin" is create to store config
- don't use '127.0.0.1' to access host, use the bridge gateway (default 172.17.0.1, get real ip
docker inspect -f '{{range $key, $value := .NetworkSettings.Networks}}{{printf "%s" $key}}->{{.Gateway}}{{end}}' pgadmin
)