Crates.io | rdocker |
lib.rs | rdocker |
version | 0.4.1 |
source | src |
created_at | 2024-07-24 14:21:50.169298 |
updated_at | 2024-07-28 01:04:32.694599 |
description | A api lib for docker in rust |
homepage | https://github.com/fb0sh/rdocker |
repository | https://github.com/fb0sh/rdocker |
max_upload_size | |
id | 1314051 |
size | 7,155 |
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);