Thread: docker pgadmin

docker pgadmin

From
Hosney Osman
Date:
Dear Sir,
i am running the below command to run pgadmin docker version
how to set these environment variables.
PGADMIN_DEFAULT_EMAIL and PGADMIN_DEFAULT_PASSWORD
=======================================================
[root@localhost ~]# docker run --rm -p 5050:5050 dpage/pgadmin4
Unable to find image 'dpage/pgadmin4:latest' locally
latest: Pulling from dpage/pgadmin4
59bf1c3509f3: Pull complete
6e9ec7ad2b67: Pull complete
a0e18fcb2977: Pull complete
fd2b27e2842d: Pull complete
51136bc64bc0: Pull complete
f64eecb587f3: Pull complete
9cb5237d6528: Pull complete
facb2de54b7c: Pull complete
2c30d334d2ee: Pull complete
27b8ff406ea1: Pull complete
b87dab9776e7: Pull complete
3e9a234b4839: Pull complete
160949aa8885: Pull complete
02526e9b4604: Pull complete
Digest: sha256:3a2f4533b0e33baa09260ce02d0912058881c55cef800b73219e19b0a9d75658
Status: Downloaded newer image for dpage/pgadmin4:latest
You need to define the PGADMIN_DEFAULT_EMAIL and PGADMIN_DEFAULT_PASSWORD environment variables.
[root@localhost ~]#

Re: docker pgadmin

From
"David G. Johnston"
Date:
On Sat, Mar 19, 2022 at 6:51 PM Hosney Osman <king.v.osman@gmail.com> wrote:
i am running the below command to run pgadmin docker version
how to set these environment variables.
PGADMIN_DEFAULT_EMAIL and PGADMIN_DEFAULT_PASSWORD
=======================================================
[root@localhost ~]# docker run --rm -p 5050:5050 dpage/pgadmin4

Docker 101 is somewhat out-of-scope for this list but as with most things the docker command is documented.  I've linked to the section that specifically talks about environment variables.


David J.