Supported platforms: macOS, Linux, Windows. psql is optimized for humans in a terminal. Agents need stable machine-readable structures, connection reuse, and streaming for large result sets.
docker run -d --name nginx-pg gmarrot/postgresql-client:18-nginx # Nginx runs in the foreground. The psql client is available inside the container if you exec into it.