SDKs (Engine)

SDKs for Docker Engine API

The Docker SDKs allow you to build applications that can control and manage the Docker Engine. They are interfaces for the Docker Engine API, but also contain a number of tools to make it easier to work with the API.

There are official libraries available in Python and Go, and there are a number of community supported libraries for other languages.

Python

The Docker SDK for Python is available on the Python Package Index (PyPI), and can be installed with PIP:

$ pip install docker

To see how to start using it, head to the getting started guide.

For a full reference, see the Docker SDK for Python documentation.

Go

The Docker SDK for Go is a package inside the Docker Engine repository. To use it, you import it:

import "github.com/docker/docker/client"

To see how to start using it, head to the getting started guide.

A full reference is available on GoDoc.

Other languages

There a number of community supported libraries available for other languages. They have not been tested by the Docker maintainers for compatibility, so if you run into any issues, file them with the library maintainers.

Language Library
C# Docker.DotNet
C++ lasote/docker_client
Dart bwu_docker
Erlang erldocker
Gradle gradle-docker-plugin
Groovy docker-client
Haskell docker-hs
HTML (Web Components) docker-elements
Java docker-client
Java docker-java
NodeJS dockerode
Perl Eixo::Docker
PHP Docker-PHP
Ruby docker-api
Rust docker-rust
Rust shiplist
Scala tugboat
Scala reactive-docker

© 2013–2016 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.
https://docs.docker.com/engine/api/sdks/

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部