Docker Hub · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Docker Engine Container API
26 actions
26 updates
phrasing
extends
openapi/docker-hub-container-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Docker Hub's API. It is a proposal applied on top of the contract, not a document Docker Hub publishes.
What the actions change
x-apievangelist-phrasing
Targets 26 · first 16 shown; the file carries all of them
$.info
$.paths['/containers/json'].get
$.paths['/containers/create'].post
$.paths['/containers/{id}/json'].get
$.paths['/containers/{id}/top'].get
$.paths['/containers/{id}/logs'].get
$.paths['/containers/{id}/changes'].get
$.paths['/containers/{id}/export'].get
$.paths['/containers/{id}/stats'].get
$.paths['/containers/{id}/resize'].post
$.paths['/containers/{id}/start'].post
$.paths['/containers/{id}/stop'].post
$.paths['/containers/{id}/restart'].post
$.paths['/containers/{id}/kill'].post
$.paths['/containers/{id}/update'].post
$.paths['/containers/{id}/rename'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Docker Engine Container API
version: 1.0.0
extends: openapi/docker-hub-container-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-19'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 25
- target: $.paths['/containers/json'].get
update:
x-apievangelist-phrasing:
intent: List containers
effect: read
questions:
- Which containers are running on my Docker host?
- Can I list containers that have been stopped too?
instructions:
- text: List all containers on the host.
- text: Show the first {limit} containers, including stopped ones.
slots:
limit: query.limit
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/create'].post
update:
x-apievangelist-phrasing:
intent: Create a container
effect: write
questions:
- How do I create a container from an image?
- Can I set environment variables and a command when creating a container?
instructions:
- text: Create a container from image {image}.
slots:
image: requestBody.Image
- text: Create container {name} from {image} with command {cmd}.
slots:
name: query.name
image: requestBody.Image
cmd: requestBody.Cmd
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/json'].get
update:
x-apievangelist-phrasing:
intent: Inspect a container
effect: read
questions:
- What are the details of a container, like its IP and ports?
- Can I see the size of a container's filesystem?
instructions:
- text: Inspect container {id}.
slots:
id: path.id
- text: Show the filesystem size of container {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/top'].get
update:
x-apievangelist-phrasing:
intent: List processes inside a container
effect: read
questions:
- Which processes are running inside a container?
- Can I sort the process list with a custom ps command?
instructions:
- text: List processes running in container {id}.
slots:
id: path.id
- text: Show the process list of container {id} sorted with {ps_args}.
slots:
id: path.id
ps_args: query.ps_args
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/logs'].get
update:
x-apievangelist-phrasing:
intent: Get a container's logs
effect: read
questions:
- Where can I read the logs a container has output?
- Can I follow a container's logs in real time?
instructions:
- text: Get the logs of container {id}.
slots:
id: path.id
- text: Follow the logs of container {id} since {since}.
slots:
id: path.id
since: query.since
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/changes'].get
update:
x-apievangelist-phrasing:
intent: Show filesystem changes on a container
effect: read
questions:
- What files have been added, changed or deleted in a container's filesystem?
- Can I see the filesystem changes since a container was created?
instructions:
- text: Show filesystem changes on container {id}.
slots:
id: path.id
- text: List which files were modified in container {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/export'].get
update:
x-apievangelist-phrasing:
intent: Export a container's filesystem
effect: read
questions:
- How do I export a container's filesystem as a tarball?
- Can I download a container's filesystem for backup?
instructions:
- text: Export container {id} as a tarball.
slots:
id: path.id
- text: Download the filesystem of container {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/stats'].get
update:
x-apievangelist-phrasing:
intent: Get a container's resource usage
effect: read
questions:
- How much CPU and memory is a container using?
- Can I stream a container's resource usage stats?
instructions:
- text: Get resource usage stats for container {id}.
slots:
id: path.id
- text: Stream stats for container {id} with stream {stream}.
slots:
id: path.id
stream: query.stream
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/resize'].post
update:
x-apievangelist-phrasing:
intent: Resize a container's TTY
effect: write
questions:
- How do I resize the terminal window of a container?
- Does a container need to be restarted after resizing its TTY?
instructions:
- text: Resize the TTY of container {id} to {h} rows by {w} columns.
slots:
id: path.id
h: query.h
w: query.w
- text: Change the terminal size of container {id} to {h}x{w}.
slots:
id: path.id
h: query.h
w: query.w
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/start'].post
update:
x-apievangelist-phrasing:
intent: Start a container
effect: write
questions:
- How do I start a container that is stopped?
- Can I start a container and keep it running in the background?
instructions:
- text: Start container {id}.
slots:
id: path.id
- text: Start container {id} and detach with keys {detachKeys}.
slots:
id: path.id
detachKeys: query.detachKeys
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/stop'].post
update:
x-apievangelist-phrasing:
intent: Stop a container
effect: write
questions:
- How do I stop a running container?
- Can I wait a few seconds before a container is forcefully killed?
instructions:
- text: Stop container {id}.
slots:
id: path.id
- text: Stop container {id} after {t} seconds.
slots:
id: path.id
t: query.t
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/restart'].post
update:
x-apievangelist-phrasing:
intent: Restart a container
effect: write
questions:
- How do I restart a container?
- Can I wait a few seconds before a container is restarted?
instructions:
- text: Restart container {id}.
slots:
id: path.id
- text: Restart container {id} after {t} seconds.
slots:
id: path.id
t: query.t
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/kill'].post
update:
x-apievangelist-phrasing:
intent: Kill a container with a signal
effect: write
questions:
- How do I send a signal to a container to stop it?
- Can I kill a container with SIGTERM instead of SIGKILL?
instructions:
- text: Kill container {id}.
slots:
id: path.id
- text: Send signal {signal} to container {id}.
slots:
signal: query.signal
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/update'].post
update:
x-apievangelist-phrasing:
intent: Update a container's configuration
effect: write
questions:
- How do I change a container's CPU or memory limits without recreating it?
- Can I update a container's restart policy?
instructions:
- text: Set container {id} memory limit to {memory}.
slots:
id: path.id
memory: requestBody.Memory
- text: Update container {id} restart policy to {restart}.
slots:
id: path.id
restart: requestBody.RestartPolicy
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/rename'].post
update:
x-apievangelist-phrasing:
intent: Rename a container
effect: write
questions:
- How do I rename a container?
- Can I give a container a new name after it's created?
instructions:
- text: Rename container {id} to {name}.
slots:
id: path.id
name: query.name
- text: Give container {id} the new name {name}.
slots:
id: path.id
name: query.name
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/pause'].post
update:
x-apievangelist-phrasing:
intent: Pause a container
effect: write
questions:
- How do I pause a container so its processes freeze?
- Can I pause a container without it noticing?
instructions:
- text: Pause container {id}.
slots:
id: path.id
- text: Freeze all processes in container {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/unpause'].post
update:
x-apievangelist-phrasing:
intent: Unpause a container
effect: write
questions:
- How do I resume a paused container?
- Can I unfreeze a container's processes?
instructions:
- text: Unpause container {id}.
slots:
id: path.id
- text: Resume the frozen processes in container {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/attach'].post
update:
x-apievangelist-phrasing:
intent: Attach to a container's streams
effect: write
questions:
- How do I attach to a container's stdin, stdout and stderr?
- Can I replay a container's logs when attaching?
instructions:
- text: Attach to container {id} and stream its output.
slots:
id: path.id
- text: Attach to container {id} and replay its logs.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/attach/ws'].get
update:
x-apievangelist-phrasing:
intent: Attach to a container over WebSocket
effect: write
questions:
- Can I attach to a container using a WebSocket instead of hijacking the HTTP connection?
- Is there a WebSocket endpoint for container attach?
instructions:
- text: Connect to container {id} over WebSocket.
slots:
id: path.id
- text: Attach to container {id} via WebSocket and stream its output.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/wait'].post
update:
x-apievangelist-phrasing:
intent: Wait for a container to stop
effect: read
questions:
- How do I block until a container exits?
- Can I wait for a container to stop before continuing?
instructions:
- text: Wait for container {id} to stop.
slots:
id: path.id
- text: Wait until container {id} reaches condition {condition}.
slots:
id: path.id
condition: query.condition
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Remove a container
effect: destructive
questions:
- How do I delete a container I no longer need?
- Can I force-remove a running container?
instructions:
- text: Remove container {id}.
slots:
id: path.id
- text: Remove container {id} and its volumes.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/archive'].get
update:
x-apievangelist-phrasing:
intent: Download a file or directory from a container
effect: read
questions:
- How do I download a file from inside a container?
- Can I fetch a directory's contents as a tar archive?
instructions:
- text: Download {path} from container {id} as an archive.
slots:
path: query.path
id: path.id
- text: Get the file {path} inside container {id}.
slots:
path: query.path
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/archive'].put
update:
x-apievangelist-phrasing:
intent: Upload a file or directory to a container
effect: write
questions:
- How do I upload a tar archive into a container?
- Can I extract an archive into a specific directory inside a container?
instructions:
- text: Extract {path} into container {id}.
slots:
path: query.path
id: path.id
- text: Upload this archive to container {id} at {path}.
slots:
id: path.id
path: query.path
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/{id}/archive'].head
update:
x-apievangelist-phrasing:
intent: Get file info for a container path
effect: read
questions:
- What are the filesystem stats of a file inside a container?
- Can I check a container path without downloading it?
instructions:
- text: Get info about {path} in container {id}.
slots:
path: query.path
id: path.id
- text: Show the stat of {path} inside container {id}.
slots:
path: query.path
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/containers/prune'].post
update:
x-apievangelist-phrasing:
intent: Delete stopped containers
effect: destructive
questions:
- How do I clean up stopped containers?
- Can I remove containers created before a certain time?
instructions:
- text: Prune stopped containers.
- text: Remove stopped containers matching {filters}.
slots:
filters: query.filters
method: generated
generated: '2026-11-19'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/docker-hub-container-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.