Hello to everyone , my environment: Ubuntu 16.04.6 LTS 4.4.0-154-generic #181-Ubuntu SMP Tue Jun 25 05:29:03 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Docker version 18.09.7, build 2d0083d rancher v2.2.4
if I start container as : docker run -p 8000:80 -e "PGADMIN_DEFAULT_EMAIL=mymail" -e "PGADMIN_DEFAULT_PASSWORD=secret" -d dpage/pgadmin4 it works just fine But if I try to deploy workload from rancher/kubernets , it continuously restarts with errors, logs are below. How could I fix it ? docker logs df2537dfb02d *NOTE: Configuring authentication for SERVER mode.Traceback (most recent call last): File "run_pgadmin.py", line 4, in <module> from pgAdmin4 import app File "/pgadmin4/pgAdmin4.py", line 131, in <module> server_port = int(port)ValueError: invalid literal for int() with base 10: 'tcp://10.43.151.247:80 <http://10.43.151.247:80>'postfix/postfix-script: starting the Postfix mail system[2019-07-12 12:40:18 +0000] [1] [INFO] Starting gunicorn 19.9.0[2019-07-12 12:40:18 +0000] [1] [INFO] Listening at: http://0.0.0.0:80 <http://0.0.0.0:80> (1)[2019-07-12 12:40:18 +0000] [1] [INFO] Using worker: threads[2019-07-12 12:40:18 +0000] [80] [INFO] Booting worker with pid: 80[2019-07-12 12:40:25 +0000] [80] [ERROR] Exception in worker processTraceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker worker.init_process() File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/gthread.py", line 104, in init_process super(ThreadWorker, self).init_process() File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base.py", line 129, in init_process self.load_wsgi() File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load return self.load_wsgiapp() File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.7/site-packages/gunicorn/util.py", line 350, in import_app __import__(module) File "/pgadmin4/run_pgadmin.py", line 4, in <module> from pgAdmin4 import app File "/pgadmin4/pgAdmin4.py", line 131, in <module> server_port = int(port)ValueError: invalid literal for int() with base 10: 'tcp://10.43.151.247:80 <http://10.43.151.247:80>'[2019-07-12 12:40:25 +0000] [80] [INFO] Worker exiting (pid: 80)[2019-07-12 12:40:26 +0000] [1] [INFO] Shutting down: Master[2019-07-12 12:40:26 +0000] [1] [INFO] Reason: Worker failed to boot.* -- Thanks in advance. Dmitry