# Docker Engine integration

Docker Engine operations target API v1.53 / Docker 29 or later over an explicitly configured HTTP(S) API endpoint. They do not gain automatic Unix-socket or named-pipe access.

Canonical URL: https://opennodeflow.dev/wiki/integration-docker/
JSON reference: https://opennodeflow.dev/wiki/integration-docker/index.json
Source snapshot: 2026-10-23

Docker Engine contributes **18 operations** in the current source catalog. Its implementation family belongs to the **Docker Engine** pack. Add that pack to the chosen workspace before authoring with its definitions.

## Capabilities and boundaries

Docker Engine operations target API v1.53 / Docker 29 or later over an explicitly configured HTTP(S) API endpoint. They do not gain automatic Unix-socket or named-pipe access.

Container creation does not pull an image or start the container. Stats use stream=false and one-shot=true. Image pull, prune, streaming multiplexed logs and engine shutdown are excluded. Inspect results may contain sensitive application configuration; restrict downstream logging.

## Configure the connection

Use an authorized bearer credential stored under the secret name `DOCKER_TOKEN` or a deliberate override. The adapter permits an unauthenticated endpoint when your deployment allows it.

The source default base origin is `https://docker.example.com`. Domains under example.com/example.net are placeholders for your own API, not running public services. Use the exact provider API origin and trusted certificate chain. A connection profile can supply credentials and repeated target defaults; profile credentials take precedence over node secret-name overrides. These developer nodes do not obtain tokens or refresh grants.

Read the chosen operation's permission entry before granting the account access. Least required target permissions are preferable to a broad administrator credential.

## First bounded read

Start with **Docker Engine List Containers**, which is declared as a read. Its synthetic argument fixture is:

```json
{
  "all": true
}
```

Replace the synthetic resource identifiers with an explicitly authorized target before any real read. An example is not an installed workflow and contains no credential values.

Set `maxPages:1` initially and inspect the result, `status`, selected direct fields and any `request_id`. Lists return `count`, `has_more` and optional `continuation`; not every provider resource is paginated. Keep the same resource/query scope when resuming. Optional outputs remain absent when the provider does not supply them. Wire only the fields present on the selected branch.

## Available operations

| Operation | Effect | API route |
| --- | --- | --- |
| [Docker Engine List Containers](/wiki/reference-dev-docker-list-containers/) | read | `GET /v1.53/containers/json` |
| [Docker Engine Inspect Container](/wiki/reference-dev-docker-inspect-container/) | read | `GET /v1.53/containers/{id}/json` |
| [Docker Engine Get Container Stats](/wiki/reference-dev-docker-container-stats/) | read | `GET /v1.53/containers/{id}/stats` |
| [Docker Engine List Images](/wiki/reference-dev-docker-list-images/) | read | `GET /v1.53/images/json` |
| [Docker Engine Inspect Image](/wiki/reference-dev-docker-inspect-image/) | read | `GET /v1.53/images/{name}/json` |
| [Docker Engine List Networks](/wiki/reference-dev-docker-list-networks/) | read | `GET /v1.53/networks` |
| [Docker Engine Inspect Network](/wiki/reference-dev-docker-inspect-network/) | read | `GET /v1.53/networks/{id}` |
| [Docker Engine List Volumes](/wiki/reference-dev-docker-list-volumes/) | read | `GET /v1.53/volumes` |
| [Docker Engine Inspect Volume](/wiki/reference-dev-docker-inspect-volume/) | read | `GET /v1.53/volumes/{name}` |
| [Docker Engine Get Engine Version](/wiki/reference-dev-docker-engine-version/) | read | `GET /v1.53/version` |
| [Docker Engine Get Disk Usage](/wiki/reference-dev-docker-system-disk-usage/) | read | `GET /v1.53/system/df` |
| [Docker Engine Start Container](/wiki/reference-dev-docker-start-container/) | write | `POST /v1.53/containers/{id}/start` |
| [Docker Engine Stop Container](/wiki/reference-dev-docker-stop-container/) | write | `POST /v1.53/containers/{id}/stop` |
| [Docker Engine Restart Container](/wiki/reference-dev-docker-restart-container/) | write | `POST /v1.53/containers/{id}/restart` |
| [Docker Engine Pause Container](/wiki/reference-dev-docker-pause-container/) | write | `POST /v1.53/containers/{id}/pause` |
| [Docker Engine Unpause Container](/wiki/reference-dev-docker-unpause-container/) | write | `POST /v1.53/containers/{id}/unpause` |
| [Docker Engine Create Container](/wiki/reference-dev-docker-create-container/) | write | `POST /v1.53/containers/create` |
| [Docker Engine Remove Container](/wiki/reference-dev-docker-remove-container/) | write | `DELETE /v1.53/containers/{id}` |

Each linked reference contains exact source arguments, named socket contracts, configuration schema, response shape and synthetic data. Source keys must be resolved to the installation's actual definition/version before graph editing.

## Bounds, changes and recovery

The shared developer adapter defaults to a 15-second request timeout, a 1 MiB response bound, one page and 1,000 accumulated items. Configurable maxima are 120 seconds, 3,000,000 response bytes, 20 pages and 5,000 items. Choose smaller limits where appropriate; an excessive response fails rather than becoming a silently complete list.

Read HTTP status and provider-specific success markers. Rejected authentication, permission failures and invalid requests need configuration correction. Rate limiting needs deliberate later scheduling. Same-origin/API-root continuation checks prevent sending credentials to an unrelated next link.

Write/delete operations require `confirmWrites:true` and ONF runtime `$retries:0`. Inspect the target and body before running. A timeout or lost response can follow a successful external action; reconcile the provider resource before repeating. HTTP 202 records acceptance, not completed work.

The reference is source-derived. Synthetic fixtures and isolated worker proof do not establish your account permissions, API availability or live delivery. See [shared setup](/wiki/integration-setup/) and [pack behavior](/wiki/library-packs/).

## Provider contract references

- [Provider reference 1](https://docs.docker.com/reference/api/engine/version/v1.53/)

---

## Documentation provenance

- `../OpenNodeFlow-Library/docs/DEVELOPER-PACKS.md`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/CONTRACT.md`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/api-research.md`

This page describes maintained source, not a live inventory or an authorization to perform actions.
