postgres

Docker Official Image packaging for Postgres (by docker-library)

Postgres Alternatives

Similar projects and alternatives to postgres

  1. go

    2,455 postgres VS go

    The Go programming language

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. nixpkgs

    Nix Packages collection & NixOS

  4. podman

    Podman: A tool for managing OCI containers and pods.

  5. nix

    435 postgres VS nix

    Nix, the purely functional package manager

  6. warehouse

    The Python Package Index

  7. devenv

    Fast, Declarative, Reproducible, and Composable Developer Environments using Nix

  8. checkmk

    85 postgres VS checkmk

    Checkmk - Best-in-class infrastructure & application monitoring

  9. Testify

    A toolkit with common assertions and mocks that plays nicely with the standard library

  10. buildkit

    concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit

  11. jib

    52 postgres VS jib

    🏗 Build container images for your Java applications.

  12. server

    40 postgres VS server

    Discontinued Tolgee is translation management cloud platform made for translating modern web applications. It works great with JS frameworks like React, Angular, Vue and others. [Moved to: https://github.com/tolgee/tolgee-platform] (by tolgee)

  13. dockertest

    Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.

  14. gomock

    Discontinued GoMock is a mocking framework for the Go programming language. (by golang)

  15. frawk

    30 postgres VS frawk

    an efficient awk-like language

  16. cookiecutter-django

    Discontinued Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly. [Moved to: https://github.com/cookiecutter/cookiecutter-django] (by pydanny)

  17. nixery

    Container registry which transparently builds images using the Nix package manager. Canonical repository is https://cs.tvl.fyi/depot/-/tree/tools/nixery

  18. docker-adminer

    Database management in a single PHP file

  19. dotfiles

    Bootstrap neovim/zsh/wezterm environment. "Unix is an IDE." (by jchilders)

  20. polygott

    Discontinued Base Docker image for the Repl.it evaluation server

  21. kanban-board

    Single-click full-stack application (Postgres, Spring Boot & Angular) using Docker Compose

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better postgres alternative or higher similarity.

postgres discussion

Log in or Post with

postgres reviews and mentions

Posts with mentions or reviews of postgres. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-11-02.
  • postgres:18 exits right after starting? The data directory moved
    1 project | dev.to | 3 Nov 2026
    $ docker logs pgold 2>&1 | head -n 12 Error: in 18+, these Docker images are configured to store database data in a format which is compatible with "pg_ctlcluster" (specifically, using major-version-specific directory names). This better reflects how PostgreSQL itself works, and how upgrades are to be performed. See also https://github.com/docker-library/postgres/pull/1259 Counter to that, there appears to be PostgreSQL data in: /var/lib/postgresql/data (unused mount/volume) This is usually the result of upgrading the Docker image without upgrading the underlying database using "pg_upgrade" (which requires both
  • How to upgrade Postgres in Docker to 18, and be ready for 19: dump and restore or pg_upgrade --link
    4 projects | dev.to | 2 Nov 2026
    On 17 and earlier, the volume is the data directory (/var/lib/postgresql/data). There's no room inside it for a second cluster, so the new one has to live on a second mount, and linking fails. A maintainer said volumes were "stuck using the slow version" (PR #1259).
  • The Compose Race Your Coding Agent Inherits From You
    1 project | dev.to | 31 Oct 2026
    Postgres only does its slow first-boot work when the data directory is empty. The entrypoint script runs initdb, starts a temporary server for the setup phase, runs anything mounted in /docker-entrypoint-initdb.d/, and only then hands over to the real server as PID 1. On a volume that has already been initialized, the container skips all of that, and the gap between "container running" and "accepting connections" shrinks to near zero. Whoever verifies the compose file, human or agent, usually verifies it on a warm volume. The demo passes. The agent's confidence is not fake; the test genuinely passed on the machine it had.
    1 project | dev.to | 29 Oct 2026
    That is the right gate. Compose will not start the app until the database's healthcheck reports healthy. But the healthcheck it copies, the same one from the same tutorials, is pg_isready -U postgres, and pg_isready without a host flag connects to the Unix socket. pg_isready is the Postgres client's readiness probe; it exits 0 when a server accepts connections. On the official Postgres image, first boot runs a temporary server for initialization that listens on the Unix socket only. The probe passes while the real server, the one your app connects to over TCP, is not up yet. The maintainers have been explaining this in issue #146 for years: "Simply adding -h 127.0.0.1 to the pg_isready command line should be enough to detect readiness correctly."
  • Docker Compose healthchecks: make depends_on actually wait for Postgres
    2 projects | dev.to | 25 Oct 2026
    The detail that matters for healthchecks: that temporary server is started with listen_addresses='', so it listens on the Unix socket only and not on TCP. The image is designed this way on purpose. Back in 2016, yosifkit put it as: "when it is listening on the network port via its non-loopback interface, it is ready to accept connections." During initialization the container is running, Postgres is running, and nothing on the network will answer. From the outside, the container looks started the whole time, which is exactly the state the short depends_on waits for and then stops waiting.
  • PostgreSQL 18 Released
    3 projects | news.ycombinator.com | 25 Sep 2025
    I'm fully aware why it's an issue with official image. But even with debian (or any other "packaging") there are hoops to be hopped through due to said missing upgrade handling which IMHO is very annoying.

    They do handle minor versions upgrade so the code handling upgrading is there but devs seems to be quite adamant against adding major version upgrade. I (well, a lot of people judging from votes and comments in https://github.com/docker-library/postgres/issues/37 and stars in https://github.com/tianon/docker-postgres-upgrade) would love that, and only between subsequent version would be more than enough…

  • How to Escape a Container
    4 projects | news.ycombinator.com | 20 Dec 2023
  • Problem with Postgres container configuration?
    1 project | /r/docker | 24 Jul 2023
    EDIT: Somehow i managed to fix it right now (I struggled with this problem yesterday for hours). This github issue have helped: https://github.com/docker-library/postgres/issues/537 If anyone runs into this problem, those are crucial instructions that helped me: docker system prune docker-compose up --force-recreate --build --remove-orphans --always-recreate-deps --renew-anon-volumes
  • PostgreSQL 16 Beta 1 Released!
    1 project | /r/PostgreSQL | 25 May 2023
  • PyPI new user and new project registrations temporarily suspended
    5 projects | news.ycombinator.com | 20 May 2023
    Tragedy of the commons - only need a few actors to ruin it all for us. Almost all distributors face this problem, from Docker Hub to PyPI. This also reminded me of official Postgres Docker image running a cryptominer in the background [1]

    [1] - https://github.com/docker-library/postgres/issues/770

  • A note from our sponsor - SaaSHub
    www.saashub.com | 9 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic postgres repo stats
35
2,525
7.3
25 days ago

docker-library/postgres is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of postgres is Shell.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Shell is
the 9th most popular programming language
based on number of references?