Use the official Postgres Docker image
masterThe
postgres image in this repository is the Docker 'Official Image'. For comprehensive usage instructions, configuration details, and environment variables, refer to the official Docker Hub page. Note that this image is maintained by the PostgreSQL Docker Community and is distinct from any images provided directly by the upstream PostgreSQL project.