Image Deployments
Deploy pre-built Docker images directly — the simplest deployment method.
CLI Deployment
daoflow deploy \
--service svc_my_app \
--server srv_prod \
--image ghcr.io/myorg/my-app:v1.2.3 \
--yes
How It Works
- DaoFlow pulls the image on the target server
- Stops the existing container (if any)
- Starts a new container with the pulled image
- Monitors health and records the outcome
Image Sources
DaoFlow works with any Docker registry:
| Registry | Example |
|---|---|
| Docker Hub | nginx:alpine |
| GitHub Container Registry | ghcr.io/org/app:latest |
| AWS ECR | 123456.dkr.ecr.us-east-1.amazonaws.com/app:v1 |
| Google Artifact Registry | us-docker.pkg.dev/project/repo/app:v1 |
| Self-hosted | registry.example.com/app:v1 |
Pinning Versions
Always use specific tags in production instead of latest:
# Good — version pinned
daoflow deploy --service svc_my_app --image my-app:v1.2.3 --yes
# Avoid in production — mutable tag
daoflow deploy --service svc_my_app --image my-app:latest --yes
DaoFlow records the exact image digest for each deployment, so you can see precisely which image version was deployed even if tags are overwritten.