CaptainBlood wrote:Code: Select all
docker run -e 'PGADMIN_DEFAULT_EMAIL=user@domain.com' -e 'PGADMIN_DEFAULT_PASSWORD=SuperSecret' -d dpage/pgadmin4
without any port fails the same.
Thks 4 ur attention, interest & support.
I think your current situation is not Gentoo/Docker issue, it is container configuration issue.
So depend on what you like to do, Do you like to resolve the issue for not able start pgadmin4? or you prefer to learn more about docker debugging strategy?
For quick start pgadmin4, I suggest you change the binding to only IPv4, I have seem some docker images have application limit so bind to IPv6 will cause problem, so you can try
Code: Select all
docker run -p 0.0.0.0:80:80 -e PGADMIN_DISABLE_POSTFIX=1 -e ...
This will disable the postfix start in the entrypoint.sh and will let the script continue to start gunicorn for web service. If that does not work try
Code: Select all
docker run -p 0.0.0.0:80:80 -e PGADMIN_DISABLE_POSTFIX=1 --sysctl net.ipv6.conf.all.disable_ipv6=1 -e...
This is to ensure the container instance not using IPv6 stack.
If you wish to know more about docker debugging, we can try to start the container with shell (i.e. will not run the entrypoint.sh) In this way we can examine the container environment and execute step by step follow the entrypoint.sh to understand where exactly the cause.
Code: Select all
docker run -it --entrypoint /bin/sh -e...