6 releases (3 breaking)

0.4.1 Jul 28, 2024
0.4.0 Jul 25, 2024
0.3.1 Jul 25, 2024
0.2.0 Jul 24, 2024
0.1.0 Jul 24, 2024

#472 in Unix APIs

26 downloads per month

MIT license

8KB
144 lines

a api for docker in rust

let dr =  Docker::new().unwrap();
let p = dr.head("/_ping");
let p = dr.get("/version");
println!("{}", p.status_code());
println!("{}", p.headers);
println!("{}", p.data);

the api document

https://docs.docker.com/engine/api/v1.46/

Dependencies

~0.8–1.7MB
~36K SLoC