Crates.io | stackify-docker-api |
lib.rs | stackify-docker-api |
version | 0.15.0 |
source | src |
created_at | 2024-08-12 12:12:23.866531 |
updated_at | 2024-08-12 12:12:23.866531 |
description | Interface to Docker API |
homepage | https://github.com/cylewitruk/docker-api-rs |
repository | https://github.com/cylewitruk/docker-api-rs |
max_upload_size | |
id | 1334366 |
size | 318,385 |
❗❗ Forked from docker-api-rs to add support for functions used by Stackify as the upstream repo appears to be inactive. This fork will only be updated to the extent of features needed by Stackify and should not be generally used.
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:
stackify-docker-api = { version = "0.15", 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.