Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install pgAdmin 4 using Docker

I am trying to install pgadmin4 using Docker in Ubuntu 18.04 LTS, but each time I create a container it crashes. Am I missing something in the below command

$ docker pull dpage/pgadmin4

$ docker run -p 80:80 \
    -e '[email protected]' \
    -e 'PGADMIN_DEFAULT_PASSWORD=admin' \
    -d dpage/pgadmin4
like image 539
Atinesh Avatar asked Sep 14 '25 09:09

Atinesh


1 Answers

Solved the issue with following command

$ docker run -p 80:80 \
    -e PGADMIN_DEFAULT_EMAIL="[email protected]" \
    -e PGADMIN_DEFAULT_PASSWORD="admin" \
    -d dpage/pgadmin4
like image 98
Atinesh Avatar answered Sep 16 '25 01:09

Atinesh