Alpine Linux
Alpine is an advanced host choice. Docker does not list Alpine as an officially tested Docker Engine platform; this page follows the Alpine Linux Docker guide and uses Alpine's distribution packages.
Install Docker
Run these commands as root, or prefix them with doas when configured:
bash
apk update
apk add docker docker-cli-compose git openssl
rc-update add docker default
rc-service docker start
addgroup YOUR_OPERATOR dockerLog out and back in, then verify as the operator:
bash
docker version
docker compose version
docker run --rm hello-worldMembership in the Docker group grants root-equivalent access to the host.
Firewall
Open TCP 80 and 443 with the host firewall used by your installation. If the server is on AWS, Google Cloud, or DigitalOcean, also create provider-level ingress rules for those two ports and restrict SSH to trusted sources.
Do not expose PostgreSQL 5432 or the internal application port 8080.
Next step
Return to the quick start.