Sign inSign up

cleanstart/php

Verified Publisher

By CleanStart

Updated about 2 hours ago

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

Image
Languages & frameworks
0

50K+

cleanstart/php repository overview

Verified PHP Container Image

A hardened, minimal PHP 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 Latest Image

Download the container image from the registry

docker pull cleanstart/php:latest
docker pull cleanstart/php:latest-dev

Basic Run

Run the container with basic configuration

docker run -it --rm --name php cleanstart/php:latest -a

Production Deployment

Deploy with production security settings

docker run -d --name php-prod \
  --security-opt=no-new-privileges \
  --user 1000:1000 \
  --restart unless-stopped \
  -p 8080:8080 \
  -v "$PWD":/app \
  cleanstart/php:latest -S 0.0.0.0:8080 -t /app

Volume Mount Mount local directory for persistent data

docker run -v /app:/app cleanstart/php:latest -r 'echo "Hello " . PHP_VERSION . "\n";'

Port Forwarding Run with custom port mappings

docker run --rm -p 8080:8080 -v "app":/app cleanstart/php:latest -S 0.0.0.0:8080 -t /app

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

Size

58.3 MB

Last updated

about 2 hours ago

docker pull cleanstart/php