This is a simple Docker image for running pgAdmin 4 in a container. It is not intended for production use (it runs in "desktop mode", so authentication is disabled).
# create a custom network for easier connecting
$ docker network create pg
# start a postgres container
$ docker run -d -e POSTGRES_PASSWORD=password --net pg --name postgres postgres
# start pgAdmin container
$ docker run -d -p 8080:80 --name pgadmin --net pg thajeztah/pgadmin4
Now visit http://[your-docker-host]:8080 in your browser. You can add the
postgres container (password is password
).
- Optimize configuration
- Allow overriding configuration through environment variables
- Improve location of configuration and storage
More information on pgAdmin 4 development can be found here;