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.
- Follow docker installation in here
- Check your docker installation
- 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’.
- 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