The pgAdmin 3 administration tool for PostgreSQL.
10K+
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ This project is not maintained anymore and has been archived! ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
A Docker image for pgAdmin3.
A Docker image for pgAdmin4 in server mode is available too!
The image is based upon the official debian:jessie image and the official pgAdmin3 release.
Docker Hub : https://hub.docker.com/r/ddidier/pgadmin
GitLab : https://gitlab.com/ddidier/docker-pgadmin3
git clone [email protected]:ddidier/docker-pgadmin3.git
cd docker-pgadmin3
docker build -t ddidier/pgadmin .
docker pull ddidier/pgadmin
pgAdmin3 will be executed by the pgadmin3 user which is created by the Docker entry point. You must pass to the container the environment variable USER_ID set to the UID of the user the files will belong to. For example -e USER_ID=$UID.
The settings are stored in the container in the directory /home/pgadmin3. You have multiple choices to keep them:
-v $HOST_DATA_DIR:/home/pgadmin3--volumes-from pgadmin-dataIf you store these data in a directory like ~/.docker-data/<CONTAINER_NAME>, you can run this image using:
docker run --rm \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v ~/.docker-data/pgadmin:/home/pgadmin3 \
-e DISPLAY=$DISPLAY \
-e USER_ID=$UID \
--link postgres:postgres \
--name pgadmin \
ddidier/pgadmin
docker run --rm \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v ~/.docker-data/pgadmin:/home/pgadmin3 \
-e DISPLAY=$DISPLAY \
-e USER_ID=$UID \
--net=mynetwork \
--name pgadmin \
ddidier/pgadmin
To enable backup/restore, go in File > Options > Browser > Binary paths and set PG bin path to /usr/lib/postgresql/9.6/bin.
Content type
Image
Digest
Size
116.9 MB
Last updated
over 9 years ago
docker pull ddidier/pgadmin