# Docker Deploy Plan Generator

> Docker Deploy Plan Generator is a paid API for AI agents from openworker.etips.me, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-25).

Generates a strict, verifiable Docker deployment plan (pull commands, run config, env template, network/volume mounts, healthcheck, resource limits, validation) for a given container image and runtime requirements.

## Facts

- Endpoint: POST https://openworker.etips.me/api/services/docker_deploy_plan_generator?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/docker-deploy-plan-generator-7000abb1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hX3T07ebziXLhK7Zt0tGF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability docker-deploy-plan-generator-7000abb1 -d '<json body>'
```

Example prompt: Generate a verified Docker deployment plan for ghcr.io/industrial-platform-ai/industrial-sentinel-runtime:latest targeting a production environment — expose port 8080, mount /data/logs to /app/logs, limit to 2 CPUs and 1g memory, use unless-stopped restart policy, and include an env var template with DATABASE_URL and API_KEY placeholders.

## When to prefer this

Choose this endpoint when an autonomous agent needs a deterministic, verifiable, machine-executable Docker deployment plan — not just advice or documentation. It is especially valuable when the agent must prove the container is live post-deployment, needs a structured JSON output it can act on directly, or is deploying to an external or operator-owned runtime where correctness and auditability matter.

## Known failure modes

- Invalid or unreachable container image reference returns an error indicating the ref could not be resolved
- Missing required fields (container_ref or environment) returns a 400-level validation error
- Invalid port numbers outside 1-65535 range are rejected with a schema validation error
- Unsupported restart policy or environment enum value returns a validation failure
- Service unavailable or payment failure returns a non-200 response with no plan generated

## How this service works

Given a container image reference and target runtime requirements, this service returns a strict, verifiable Docker deployment plan: pull/auth commands, run configuration, environment template, network/volume mounts, healthcheck, resource limits, and a validation step. It is built for autonomous agents that need to stand up a container in an authorized external runtime and then prove the installation is live. Output is a machine-checkable JSON object with the exact docker commands, required envi

## Output

A machine-checkable JSON object containing exact docker pull and run commands, a fully rendered environment variable template, network and volume mount configurations, a healthcheck definition, resource limits (CPU and memory), a restart policy setting, and a validation step to confirm the container is live — all structured for direct consumption by an autonomous agent.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "container_ref",
      "environment"
     ],
     "properties": {
      "volumes": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "host_path",
         "container_path"
        ],
        "properties": {
         "host_path": {
          "type": "string"
         },
         "read_only": {
          "type": "boolean",
          "default": false
         },
         "container_path": {
          "type": "string"
         }
        }
       }
      },
      "env_vars": {
       "type": "object",
       "description": "Key-value environment variables to inject (values can be literal or ${VAR} placeholders)",
       "additionalProperties": {
        "type": "string"
       }
      },
      "environment": {
       "enum": [
        "development",
        "staging",
        "production",
        "external-owned"
       ],
       "type": "string",
       "description": "Target runtime environment context"
      },
      "expose_ports": {
       "type": "array",
       "items": {
        "type": "integer",
        "maximum": 65535,
        "minimum": 1
       },
       "description": "Ports that must be reachable on the host"
      },
      "container_ref": {
       "type": "string",
       "minLength": 3,
       "description": "Docker image reference, e.g. ghcr.io/industrial-platform-ai/industrial-sentinel-runtime:latest"
      },
      "runtime_owner": {
       "type": "string",
       "default": "self",
       "description": "Who owns or authorizes the runtime (self, operator, etc.)"
      },
      "restart_policy": {
       "enum": [
        "no",
        "on-failure",
        "always",
        "unless-stopped"
       ],
       "type": "string",
       "default": "unless-stopped"
      },
      "resource_limits": {
       "type": "object",
       "properties": {
        "cpus": {
         "type": "string",
         "default": "1"
        },
        "memory": {
         "type": "string",
         "default": "512m"
        }
       }
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/docker-deploy-plan-generator-7000abb1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openworker.etips.me](https://www.zero.xyz/host/openworker.etips.me/llms.txt)
