
PostgreSQL in Docker for Production: Volumes, Shared Memory, Pooling & Backups
Starting with PostgreSQL 18, the official Docker image changed its VOLUME and mount target from /var/lib/postgresql/data to /var/lib/postgresql (with versioned subdirectories like /18/docker).





















































































































