Docker:API
lastmod 2026-11-10created 2020-09-012 edits
Docker Engine API is the REST API provided by the Docker daemon, the same interface the docker CLI uses internally. By connecting over a Unix socket or TCP, you can create, start, and stop containers, list images, read logs, subscribe to events, and more, and the official SDKs for Go and Python wrap it. This page collects examples of using the SDKs and the API.