| Crates.io | rs-docker-api-rs |
| lib.rs | rs-docker-api-rs |
| version | 0.3.2 |
| created_at | 2025-01-24 23:37:00.842197+00 |
| updated_at | 2025-01-30 15:41:02.132234+00 |
| description | Interface to Docker API |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1530092 |
| size | 322,585 |
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.43
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.