Skip to main content

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

  1. DaoFlow pulls the image on the target server
  2. Stops the existing container (if any)
  3. Starts a new container with the pulled image
  4. Monitors health and records the outcome

Image Sources

DaoFlow works with any Docker registry:

RegistryExample
Docker Hubnginx:alpine
GitHub Container Registryghcr.io/org/app:latest
AWS ECR123456.dkr.ecr.us-east-1.amazonaws.com/app:v1
Google Artifact Registryus-docker.pkg.dev/project/repo/app:v1
Self-hostedregistry.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.