Sign inSign up

kvineet/docker-pgadmin4

By kvineet

•Updated over 7 years ago

pgadmin4 with binaries for postgresql data import/export included in image.

Image
0

1.5K

kvineet/docker-pgadmin4 repository overview

⁠PostgreSQL pgAdmin 4 with binary support

Docker Automated build Docker Build Status MicroBadger Size

⁠Quick Install

You can directly pull latest image from dockerhub⁠.

docker pull kvineet/docker-pgadmin4

Then you may run the image with following command.

docker run -d --name pgadmin -p 5433:80 -v $HOME/.pgadmin4:/data kvineet/docker-pgadmin4:latest

⁠Details

This is modified version of foxylion's pgadmin4 docker file⁠

Instead of using python:2-alpine as base image, this dockerfile uses alpine:3.7. That way latest version of pg_dump and pg_restore tools can be installed. just build the image again when newer version⁠ of postgresql-client is available on alpine

⁠Upgrading

To upgrade pgadmin version set the environment variables and build the image again.

ENV PGADMIN_VERSION_MAJOR 3 
ENV PGADMIN_VERSION_MINOR 0

There is probably no need to ever update python pip version, as latest is installed whenever new image is built. Update this when 10.0.1 becomes too old.

ENV PYTHON_PIP_VERSION 10.0.1

⁠Build From Source

  • make build will create the new image with tag kvineet/pgadmin4.
  • make run will mount ./.pgadmin4 directory to /data and expose port 80 on host port 5433

Tag summary

Content type

Image

Digest

Size

190.3 MB

Last updated

over 7 years ago

docker pull kvineet/docker-pgadmin4