PGAdmin: Installing pgAdmin4 on Ubuntu Linux using Docker


logo

In this post I am going to share my experience regarding pgAdmin4 installation using existing Docker image from https://github.com/thaJeztah/pgadmin4-docker on my laptop Ubuntu Linux 14.04, I am sure that this sample is working for latest Ubuntu as well as 14.04 since I use docker to run the application, I consider docker is the easiest and the fastest way to install pgAdmin4 that can be done in seconds (thanks for pgadmin4-docker).

Welcome to pgAdmin 4. pgAdmin is the leading Open Source management tool for Postgres, the world’s most advanced Open Source database. pgAdmin 4 is designed to meet the needs of both novice and experienced Postgres users alike, providing a powerful graphical interface that simplifies the creation, maintenance and use of database objects.

  1. Follow docker installation in here
  2. Check your docker installation

    check-docker

  3. And then make sure that you have proper access to the docker commands, if you got following errors below so you need to do this additional steps :

    Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.26/containers/json: dial unix /var/run/docker.sock: connect: permission denied

    docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.26/containers/create: dial unix /var/run/docker.sock: connect: permission denied.
    See ‘docker run –help’.

  4. If your docker is successfully installed and configured then we can just move to the next step to run pgAdmin4 on Ubuntu 14.04 using following docker image.

    docker run –rm -p 5050:5050 thajeztah/pgadmin4

    consolle-installedresult

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s