Thread: Installation on Linux with Docker

Installation on Linux with Docker

From
Qua qua
Date:
Dear developers,

I'm struggling to install and configure the application on docker, where 
I'm also moving my first steps.

The container was started with: docker run -p 7990:80 -e 
'PGADMIN_DEFAULT_EMAIL=test@test.com' -e 'PGADMIN_DEFAULT_PASSWORD=test' 
-d dpage/pgadmin4. I'd expect then I'll be able to connect to 
localhost:7990, but when trying to open this address, the browser hangs 
indefinitely.

I do not spots any hints in the log:

#] docker logs pgadmin4
NOTE: Configuring authentication for SERVER mode.

[2022-06-23 10:33:39 +0000] [1] [INFO] Starting gunicorn 20.1.0
[2022-06-23 10:33:39 +0000] [1] [INFO] Listening at: http://[::]:80 (1)
[2022-06-23 10:33:39 +0000] [1] [INFO] Using worker: gthread
[2022-06-23 10:33:39 +0000] [89] [INFO] Booting worker with pid: 89
[2022-06-23 10:54:23 +0000] [1] [INFO] Handling signal: winch
[2022-06-23 11:00:09 +0000] [1] [INFO] Handling signal: winch
[2022-06-23 11:12:09 +0000] [1] [INFO] Handling signal: winch
[2022-06-23 11:18:13 +0000] [1] [INFO] Handling signal: winch
[2022-06-23 11:39:08 +0000] [1] [INFO] Handling signal: winch
[2022-06-23 11:57:50 +0000] [1] [INFO] Handling signal: winch

Is this a problem of permissions? The documentation mentions that should 
be set for the pgadmin user/group, but I don't know how to do it on Docker.


Linux 5.18.5-arch1-1, Docker v20.10.17, image dpage/pgadmin4:latest 
2d7539c5a1338b9b063c60aa25e2f8ae948ba717c0c0c7ca91fbea7e9733d434


Yours,

Quack




Re: Installation on Linux with Docker

From
Brian Wilson
Date:
All I can think of is your browser is trying https instead of http? They do that a lot these days. It should not be any permission issue. 

On Thu, Jun 23, 2022, 5:05 AM Qua qua <nuquaquaraqua@gmail.com> wrote:
Dear developers,

I'm struggling to install and configure the application on docker, where
I'm also moving my first steps.

The container was started with: docker run -p 7990:80 -e
'PGADMIN_DEFAULT_EMAIL=test@test.com' -e 'PGADMIN_DEFAULT_PASSWORD=test'
-d dpage/pgadmin4. I'd expect then I'll be able to connect to
localhost:7990, but when trying to open this address, the browser hangs
indefinitely.

I do not spots any hints in the log:

#] docker logs pgadmin4
NOTE: Configuring authentication for SERVER mode.

[2022-06-23 10:33:39 +0000] [1] [INFO] Starting gunicorn 20.1.0
[2022-06-23 10:33:39 +0000] [1] [INFO] Listening at: http://[::]:80 (1)
[2022-06-23 10:33:39 +0000] [1] [INFO] Using worker: gthread
[2022-06-23 10:33:39 +0000] [89] [INFO] Booting worker with pid: 89
[2022-06-23 10:54:23 +0000] [1] [INFO] Handling signal: winch
[2022-06-23 11:00:09 +0000] [1] [INFO] Handling signal: winch
[2022-06-23 11:12:09 +0000] [1] [INFO] Handling signal: winch
[2022-06-23 11:18:13 +0000] [1] [INFO] Handling signal: winch
[2022-06-23 11:39:08 +0000] [1] [INFO] Handling signal: winch
[2022-06-23 11:57:50 +0000] [1] [INFO] Handling signal: winch

Is this a problem of permissions? The documentation mentions that should
be set for the pgadmin user/group, but I don't know how to do it on Docker.


Linux 5.18.5-arch1-1, Docker v20.10.17, image dpage/pgadmin4:latest
2d7539c5a1338b9b063c60aa25e2f8ae948ba717c0c0c7ca91fbea7e9733d434


Yours,

Quack