Sign inSign up

cleanstart/postgres

Verified Publisher

By CleanStart

Updated about 1 hour ago

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

Image
Databases & storage
0

50K+

cleanstart/postgres repository overview

Verified POSTGRES Container Image

A hardened, minimal POSTGRES 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 Images
docker pull cleanstart/postgres:latest
docker pull cleanstart/postgres:latest-dev
Run Container
docker run --rm -it --name postgres-db -e POSTGRES_PASSWORD=secure_password cleanstart/postgres:latest
Production Deployment
docker run -d --name postgres-prod \
  -p 5432:5432 \
  -e POSTGRES_PASSWORD=secure_password \
  -v postgres_data:/var/lib/postgresql/data \
  --security-opt=no-new-privileges \
  cleanstart/postgres:latest
Docker Compose Setup Complete database service configuration
version: '3.8'
services:
  postgres:
    image: cleanstart/postgres:latest
    container_name: postgres
    restart: unless-stopped
    ports:
      - "5432:5432"
    environment:
      POSTGRES_PASSWORD: secure_password
    volumes:
      - postgres_data:/var/lib/postgresql/data
    security_opt:
      - no-new-privileges:true
volumes:
  postgres_data:
Connect to Database Access database shell for administration
docker exec -it postgres-prod psql -U postgres

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:b9e156f0f

Size

73.3 MB

Last updated

about 1 hour ago

docker pull cleanstart/postgres