| Crates.io | docker-api |
| lib.rs | docker-api |
| version | 0.14.0 |
| created_at | 2021-06-27 08:16:37.423059+00 |
| updated_at | 2023-06-05 20:53:33.485031+00 |
| description | Interface to Docker API |
| homepage | https://github.com/vv9k/docker-api-rs |
| repository | https://github.com/vv9k/docker-api-rs |
| max_upload_size | |
| id | 415391 |
| size | 314,987 |
a rust interface to Docker containers
Add the following to your Cargo.toml file
[dependencies]
docker-api = "0.14"
Default endpoints include:
To enable swarm endpoints add a swarm feature to Cargo.toml like so:
docker-api = { version = "0.14", features = ["swarm"] }
Swarm endpoints include:
Latest stable version of this crate supports API version: v1.42 Master branch supports: v1.42
To enable HTTPS connection to docker add a tls flag to Cargo.toml.
To enable chrono DateTime timestamps add a chrono feature flag to Cargo.toml.
By default only chrono feature is enabled. To disable it use:
docker-api = { version = "0.14", default-features = false }
Examples for most API endpoints can be found in the examples directory.
This crate is a fork of shiplift.