mirror of https://github.com/docker/docs.git
### Background Newer upstream PostgreSQL Docker images, now require a password for use. If you were previously using passwordless access to a PostgreSQL DB, it will likely fail with an error. This linked GitHub issue showcases the error: https://github.com/docker-library/postgres/issues/681 ### Solution The postgres docker page gives instructions on how to use the new image : https://hub.docker.com/_/postgres There seems to be two different options we can take here : Option 1 - Implement a password using the environment variable Option 2 - Revert back to old behavior of having no password requirement ### Thoughts Based on the team members remark it looks like increased security was the major reason for this breaking changing happening in a minor update. Refer to this comment : https://github.com/docker-library/postgres/issues/681#issuecomment-586517154 As such I opted to use Option 1 here in this change as increased security of a DB is generally a win for every one in most cases. |
||
|---|---|---|
| .. | ||
| compose-file | ||
| images | ||
| reference | ||
| aspnet-mssql-compose.md | ||
| completion.md | ||
| django.md | ||
| env-file.md | ||
| environment-variables.md | ||
| extends.md | ||
| faq.md | ||
| gettingstarted.md | ||
| index.md | ||
| install.md | ||
| link-env-deprecated.md | ||
| networking.md | ||
| production.md | ||
| rails.md | ||
| release-notes.md | ||
| samples-for-compose.md | ||
| startup-order.md | ||
| swarm.md | ||
| wordpress.md | ||