Crates.io | rs-docker-api-rs |
lib.rs | rs-docker-api-rs |
version | |
source | src |
created_at | 2025-01-24 23:37:00.842197 |
updated_at | 2025-01-30 15:41:02.132234 |
description | Interface to Docker API |
homepage | |
repository | |
max_upload_size | |
id | 1530092 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.