Docker API
Docker SDKs
The Docker API is served by Docker Engine and provides full control over Docker. This is particularly useful when building applications that utilize Docker. To determine the version of the Engine API you are running, you can use the command docker version | grep -i "API version". The API often changes with each Docker release, so API calls are versioned to ensure compatibility. To interact with this API, you should use one of the available SDKs based on the programming language you are using.
Here is a list of some known SDKs for using the Docker Engine API (some of them are not actively maintained):
| Language | Library | Official |
|---|---|---|
| Go | Moby | Yes |
| Python | docker-py | Yes |
| C | libdocker | No |
| C# | Docker.DotNet | No |
| C++ | lasote/docker_client | No |
| Clojure | clj-docker-client | No |
| Clojure | contajners | No |
| Dart | bwu_docker | No |
| Erlang | erldocker | No |
| Gradle | gradle-docker-plugin | No |
| Groovy | docker-client | No |
| Haskell | docker-hs | No |
| HTML (Web Components) |
Painless Docker - 2nd Edition
A Comprehensive Guide to Mastering Docker and its EcosystemEnroll now to unlock all content and receive all future updates for free.
Hurry! This limited time offer ends in:
To redeem this offer, copy the coupon code below and apply it at checkout:
