79590316

Date: 2025-04-24 10:11:32
Score: 0.5
Natty:
Report link

Most likely, you still have a volume from an old postgres container. Check your existing Docker volumes with docker volume ls and remove the unnecessary one using docker volume rm. The password will not be reset if the container has already been initialized. On a new container, the POSTGRES_PASSWORD_FILE env var works perfectly.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: slavny_coder