Sign inSign up

cleanstart/pgbouncer

Verified Publisher

By CleanStart

•Updated about 24 hours ago

Secure by Design, Built for Speed, Hardened Container Images on a minimal base CleanStart OS.

Image
Databases & storage
1

100K+

cleanstart/pgbouncer repository overview

Verified PGBOUNCER Container Image

A hardened, minimal PGBOUNCER container image built from source with verifiable software provenance and an SBOM, designed for secure production deployments.

For additional versions including FIPS support, explore CleanStart Images — secure, hardened container images⁠

⁠Pull Commands
docker pull cleanstart/pgbouncer:latest
docker pull cleanstart/pgbouncer:latest-dev
⁠Run Commands

Basic test:

docker run -it --name pgbouncer-test cleanstart/pgbouncer:latest-dev
cd sample-project

# Create network

docker network create pgbouncer-net

# Start PostgreSQL

docker run -d --name postgres-db --network pgbouncer-net \
  -e POSTGRES_DB=testdb -e POSTGRES_USER=testuser -e POSTGRES_PASSWORD=testpass \
  postgres:16-alpine


# Start PgBouncer
# Create valid pgbouncer.ini config file, to test furthur

docker run -d --name pgbouncer --network pgbouncer-net -p 6432:6432 \
  -v $(pwd)/pgbouncer.ini:/etc/pgbouncer/pgbouncer-other.ini/pgbouncer.ini:ro \
  -v $(pwd)/userlist.txt:/etc/pgbouncer/userlist.txt/userlist.txt:ro \
  cleanstart/pgbouncer:latest /etc/pgbouncer/pgbouncer-other.ini/pgbouncer.ini

# Test connection

docker run --rm -it --network pgbouncer-net postgres:16-alpine \
  psql -h pgbouncer -p 6432 -U testuser -d testdb

⁠Basic Usage

docker run -d \                                                                                           
  --name pgbouncer \
  -p 6432:6432 \
  -v $(pwd)/pgbouncer.ini:/etc/pgbouncer/pgbouncer-other.ini/pgbouncer.ini:ro \
  -v $(pwd)/userlist.txt:/etc/pgbouncer/userlist.txt/userlist.txt:ro \
  cleanstart/pgbouncer:latest /etc/pgbouncer/pgbouncer-other.ini/pgbouncer.ini

Why Use CleanStart Images⁠

  • Verified — Built from source with verifiable software provenance
  • Hardened — Minimal software footprint designed for secure deployment
  • Transparent — SBOM available for visibility into image contents
  • Production-ready — Built for modern container environments

Tag summary

Content type

Image

Digest

sha256:523074ef5…

Size

44.7 MB

Last updated

about 24 hours ago

docker pull cleanstart/pgbouncer