---
title: "Docker Host"
description: "Run many small apps on one always-on workspace host while MIOSA owns routing, domains, and attribution."
last_updated: 2026-10-22
url: https://miosa.ai/docs/docker-host/docker-deploy
---

# Docker Host

Docker Host is MIOSA's dedicated workspace host model for customers that need many small apps, funnels, lead magnets, APIs, or client sites without creating a new production VM for every deployment.
It is the recommended production path for generated apps that should run 24/7 inside a workspace.
MIOSA keeps routing, domains, and attribution as the source of truth, and the host supplies the execution capacity.

## 1. Ensure the workspace host

```bash
miosa api POST /docker-deploy/hosts/ensure -d '{"workspace_id": "<workspace-id>"}'
miosa api GET /docker-deploy/hosts?workspace_id=<workspace-id>
```

The host moves from `provisioning` to `bootstrapping` to `active`. Publishes wait until it is active.

## 2. Publish an app

```bash
miosa deploy create --from-sandbox <sandbox-id> \
  --name my-app \
  --dir /workspace \
  --run-command "npm run start" \
  --port 3000 \
  --type docker_deploy \
  --wait \
  --wait-timeout 900s \
  --json
```

To publish a new version without changing the deployment URL, reuse the same `--name`.

## 3. Prove it

```bash
miosa deploy get <deployment-id> --json
```

A Docker Host deployment is live only when the host is active, the app target is running, the container route is reachable, and a probe to `public_url` succeeds.

## Pick what you need

| You want to | Start here |
|---|---|
| Understand host lifecycle and proof | [Docker Hosts](https://miosa.ai/docs/docker-host/hosts.md) |
| Start from a curated app shape | [Docker Host templates](https://miosa.ai/docs/docker-host/templates.md) |
| Standard static or dynamic publish | [Deploy overview](https://miosa.ai/docs/docker-host/overview.md) |
| Attach a managed or custom domain | [Deployment Domains](https://miosa.ai/docs/docker-host/domains.md) |
| Compare standard and Docker Host targets | [The deployment model](https://miosa.ai/docs/docker-host/deployment-model.md) |

## Next

- [Docker Hosts](https://miosa.ai/docs/docker-host/hosts.md): The always-on workspace host: lifecycle states, publishing flow, proof, and recovery.
- [Docker Host templates](https://miosa.ai/docs/docker-host/templates.md): Curated app shapes with Dockerfile, Compose, command, and port defaults.
- [Publishing](https://miosa.ai/docs/docker-host/publishing.md): Freeze a sandbox into an immutable deployment version.
- [Deployment domains](https://miosa.ai/docs/docker-host/domains.md): Attach managed and custom domains to deployments.
- [White-label setup](https://miosa.ai/docs/platform/white-label.md): Configure organization branding and domain behavior.
- [External attribution](https://miosa.ai/docs/platform/attribution.md): Map MIOSA resources to your users, workspaces, and projects.
