0

I launched a pod in rancher with docker.io/bitnami/postgresql:11.6.0-debian-10-r0. The pod can be successfully started and the postgres daemon is started. However, inside the pod, I got a "I have no name" shell prompt.

The pod log did say creating password for postgres user. However, I don't have root password, neither do I have sudo, or su to postgres. The pgsql db is running but cannot be accessed from pgadmin outside the pod.

Jin Ma
  • 169
  • 2
  • 12
  • Whoever *has* `sudo` rights can easily fix this. See: https://stackoverflow.com/a/11919677/939860. Or (temporarily) activate [`trust` authentication](https://www.postgresql.org/docs/current/auth-trust.html) in `pg_hba.conf`. – Erwin Brandstetter Nov 10 '21 at 04:16
  • Is there a default root password built in docker.io/bitnami/postgresql:11.6.0-debian-10-r0? – Jin Ma Nov 10 '21 at 14:29
  • Postgres does not ship with a default password. I wouldn't know about docker.io/bitnami/postgresql:11.6.0-debian-10-r0. – Erwin Brandstetter Nov 11 '21 at 04:34

0 Answers0