Docker Hub · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Docker Engine Image API

16 actions 16 updates phrasing extends openapi/docker-hub-image-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.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 16

$.info
$.paths['/images/json'].get
$.paths['/build'].post
$.paths['/build/prune'].post
$.paths['/images/create'].post
$.paths['/images/{name}/json'].get
$.paths['/images/{name}/history'].get
$.paths['/images/{name}/push'].post
$.paths['/images/{name}/tag'].post
$.paths['/images/{name}'].delete
$.paths['/images/search'].get
$.paths['/images/prune'].post
$.paths['/commit'].post
$.paths['/images/{name}/get'].get
$.paths['/images/get'].get
$.paths['/images/load'].post

OpenAPI Overlay

Raw ↑
# 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 Image API
  version: 1.0.0
extends: openapi/docker-hub-image-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: 15
- target: $.paths['/images/json'].get
  update:
    x-apievangelist-phrasing:
      intent: List images on the Docker daemon
      effect: read
      questions:
      - Which images are available on my Docker daemon?
      - Can I list only images that are not used by any container?
      instructions:
      - text: List all images on the daemon.
      - text: List images including intermediate layers with all set to {all}.
        slots:
          all: query.all
      method: generated
      generated: '2026-11-19'
- target: $.paths['/build'].post
  update:
    x-apievangelist-phrasing:
      intent: Build an image from a Dockerfile
      effect: write
      questions:
      - How do I build an image from a Dockerfile in a tar archive?
      - Can I build an image with a custom Dockerfile path and build arguments?
      instructions:
      - text: Build an image from a Dockerfile located at {dockerfile} in the build context.
        slots:
          dockerfile: query.dockerfile
      - text: Build an image named {t} from the remote Git repository {remote}.
        slots:
          t: query.t
          remote: query.remote
      method: generated
      generated: '2026-11-19'
- target: $.paths['/build/prune'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete builder build cache
      effect: destructive
      questions:
      - How do I clean up the builder's build cache?
      - Can I remove unused build cache layers?
      instructions:
      - text: Prune the builder's build cache.
      - text: Remove all unused build cache.
      method: generated
      generated: '2026-11-19'
- target: $.paths['/images/create'].post
  update:
    x-apievangelist-phrasing:
      intent: Pull or import an image
      effect: write
      questions:
      - How do I pull an image from a registry?
      - Can I import an image from a tarball or URL?
      instructions:
      - text: Pull the image {fromImage} from the registry.
        slots:
          fromImage: query.fromImage
      - text: Import an image from {fromSrc} into repository {repo}.
        slots:
          fromSrc: query.fromSrc
          repo: query.repo
      method: generated
      generated: '2026-11-19'
- target: $.paths['/images/{name}/json'].get
  update:
    x-apievangelist-phrasing:
      intent: Inspect an image's details
      effect: read
      questions:
      - What layers and configuration make up a given image?
      - Can I see low-level details of an image by its name or ID?
      instructions:
      - text: Inspect image {name}.
        slots:
          name: path.name
      - text: Show the configuration and layers of image {name}.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-19'
- target: $.paths['/images/{name}/history'].get
  update:
    x-apievangelist-phrasing:
      intent: Show an image's layer history
      effect: read
      questions:
      - Which parent layers make up an image?
      - Can I see the command history of an image's layers?
      instructions:
      - text: Show the layer history of image {name}.
        slots:
          name: path.name
      - text: List the parent layers of image {name}.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-19'
- target: $.paths['/images/{name}/push'].post
  update:
    x-apievangelist-phrasing:
      intent: Push an image to a registry
      effect: write
      questions:
      - How do I push an image to a private registry?
      - Can I tag an image with a specific tag before pushing it?
      instructions:
      - text: Push image {name} to its registry.
        slots:
          name: path.name
      - text: Push image {name} tagged {tag} to the registry.
        slots:
          name: path.name
          tag: query.tag
      method: generated
      generated: '2026-11-19'
- target: $.paths['/images/{name}/tag'].post
  update:
    x-apievangelist-phrasing:
      intent: Tag an image into a repository
      effect: write
      questions:
      - How do I tag an image so it belongs to a repository?
      - Can I give an image a new tag without pushing it?
      instructions:
      - text: Tag image {name} as {tag}.
        slots:
          name: path.name
          tag: query.tag
      - text: Add the {tag} tag to image {name} in repository {repo}.
        slots:
          name: path.name
          tag: query.tag
          repo: query.repo
      method: generated
      generated: '2026-11-19'
- target: $.paths['/images/{name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove an image
      effect: destructive
      questions:
      - How do I remove an image from the daemon?
      - Can I force-remove an image that is still referenced by stopped containers?
      instructions:
      - text: Remove image {name}.
        slots:
          name: path.name
      - text: Force-remove image {name} even if it is referenced by stopped containers.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-19'
- target: $.paths['/images/search'].get
  update:
    x-apievangelist-phrasing:
      intent: Search Docker Hub for images
      effect: read
      questions:
      - What images are available on Docker Hub?
      - Can I search Docker Hub for official or automated images?
      instructions:
      - text: Search Docker Hub for images matching {term}.
        slots:
          term: query.term
      - text: Find up to {limit} images on Docker Hub for {term}.
        slots:
          limit: query.limit
          term: query.term
      method: generated
      generated: '2026-11-19'
- target: $.paths['/images/prune'].post
  update:
    x-apievangelist-phrasing:
      intent: Remove unused images
      effect: destructive
      questions:
      - How do I clean up images that are not referenced by any container?
      - Can I remove dangling images only?
      instructions:
      - text: Prune unused images.
      - text: Remove dangling images matching {filters}.
        slots:
          filters: query.filters
      method: generated
      generated: '2026-11-19'
- target: $.paths['/commit'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an image from a container
      effect: write
      questions:
      - How do I save the state of a running container as a new image?
      - Can I commit a container with a custom entry point and working directory?
      instructions:
      - text: Commit container {container} into a new image named {repo}:{tag}.
        slots:
          container: query.container
          repo: query.repo
          tag: query.tag
      - text: Save container {container} as image {repo} with comment {comment}.
        slots:
          container: query.container
          repo: query.repo
          comment: query.comment
      method: generated
      generated: '2026-11-19'
- target: $.paths['/images/{name}/get'].get
  update:
    x-apievangelist-phrasing:
      intent: Export an image as a tarball
      effect: read
      questions:
      - How do I export a single image and its layers to a tarball?
      - Can I download an image's tarball for backup?
      instructions:
      - text: Export image {name} as a tarball.
        slots:
          name: path.name
      - text: Download the image layers of {name} to a tar file.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-19'
- target: $.paths['/images/get'].get
  update:
    x-apievangelist-phrasing:
      intent: Export several images as a tarball
      effect: read
      questions:
      - How do I export multiple images at once?
      - Can I get the tarball for several repositories together?
      instructions:
      - text: Export images {names} as one tarball.
        slots:
          names: query.names
      - text: Download the image archives for {names} in a single archive.
        slots:
          names: query.names
      method: generated
      generated: '2026-11-19'
- target: $.paths['/images/load'].post
  update:
    x-apievangelist-phrasing:
      intent: Import images from a tarball
      effect: write
      questions:
      - How do I load images back into the daemon from a tarball?
      - Can I import an image archive I exported earlier?
      instructions:
      - text: Load images from the exported archive.
      - text: Import the image archive {archive} into the daemon.
        slots:
          archive: query.quiet
      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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/docker-hub-image-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.