Docker images for PostgreSQL client based on Alpine Linux.
- Lightweight Alpine Linux base (Alpine 3.22)
- PostgreSQL client version 17.5
- Runs as non-root user for security
- Automatically built and pushed to GitHub Container Registry (GHCR)
Pull the image from GHCR:
docker pull ghcr.io/enoot/psql-client:17.5
# or
docker pull ghcr.io/enoot/psql-client:latestRun psql client:
docker run --rm ghcr.io/enoot/psql-client:17.5 --versionConnect to a PostgreSQL database:
docker run --rm -it ghcr.io/enoot/psql-client:17.5 -h hostname -U username -d databasedocker build -t psql-client:local .- 17.5- PostgreSQL client version 17.5
- latest- Latest version (currently 17.5)
- main- Latest build from the main branch
See LICENSE file.