{"uid":"cap_hX3T07ebziXLhK7Zt0tGF","slug":"docker-deploy-plan-generator-7000abb1","name":"Docker Deploy Plan Generator","description":"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","url":"https://openworker.etips.me/api/services/docker_deploy_plan_generator?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zy_fXfWT-tIsN4cyQzT-h","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Autonomous agent container rollout","prompt":"I need a verifiable Docker deployment plan for my agent to stand up quay.io/myteam/inference-worker:v2.1 in a staging environment — expose port 5000, inject MODEL_PATH and AUTH_TOKEN as env vars, cap it at 1 CPU and 512m memory, and include a healthcheck so the agent can prove the container is live after launching it."},{"title":"External-owned runtime deployment","prompt":"Create a machine-checkable Docker run configuration for nginx:alpine in an external-owned runtime — expose ports 80 and 443, mount /etc/nginx/conf.d from the host, set restart policy to on-failure, and give me the exact pull and run commands along with a validation step."},{"title":"Production container hardening plan","prompt":"Generate a strict Docker deployment plan for postgres:15 targeting production — set memory limit to 2g and CPUs to 2, inject POSTGRES_USER, POSTGRES_PASSWORD, and POSTGRES_DB as environment variable placeholders, mount /var/lib/postgresql/data as a persistent volume, and include healthcheck and resource limit configs in the output JSON."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-25T00:30:11.239Z","isFirstParty":false,"canonicalSlug":"docker-deploy-plan-generator-7000abb1"}