Lightweight PocketBase server in Alpine Linux container with persistent data volume support
4.4K
Lightweight Alpine-based Docker image for PocketBase - an open source backend in a single file.
Multi-architecture support (amd64, arm64) with automated builds tracking PocketBase releases. Features minimal Alpine Linux base (~45MB), persistent data volumes, and easy deployment via Docker Compose.
docker run -d -p 8090:8090 -v ./pb_data:/pb/pb_data jasonc/pocketbase:latest
https://github.com/jasonc/pocketbase-docker
Available versions match official PocketBase releases (e.g., 0.29.0, 0.30.0, latest)
services:
pocketbase:
image: jasonc/pocketbase:latest
ports:
- "8090:8090"
volumes:
- ./pb_data:/pb/pb_data
- ./pb_migrations:/pb/pb_migrations
- ./pb_hooks:/pb/pb_hooks
docker build --build-arg PB_VERSION=0.30.0 -t my-pocketbase .
Content type
Image
Digest
sha256:ec6d3c215…
Size
28 MB
Last updated
8 days ago
docker pull jasonc/pocketbase