12 releases (6 breaking)

0.7.0 Feb 21, 2021
0.6.0 Dec 8, 2019
0.5.0 Apr 21, 2019
0.4.0 Dec 24, 2018
0.1.2 Jun 10, 2015

#66 in Unix APIs

Download history 1294/week @ 2022-04-25 874/week @ 2022-05-02 703/week @ 2022-05-09 936/week @ 2022-05-16 1133/week @ 2022-05-23 926/week @ 2022-05-30 801/week @ 2022-06-06 1015/week @ 2022-06-13 1375/week @ 2022-06-20 900/week @ 2022-06-27 1053/week @ 2022-07-04 997/week @ 2022-07-11 790/week @ 2022-07-18 462/week @ 2022-07-25 832/week @ 2022-08-01 823/week @ 2022-08-08

2,951 downloads per month
Used in fewer than 11 crates

MIT license

150KB
4.5K SLoC

shiplift

GitHub Actions crates.io MIT licensed Released API docs Master API docs

a rust interface for maneuvering docker containers

install

Add the following to your Cargo.toml file

[dependencies]
shiplift = "0.8"

usage

Many small runnable example programs can be found in this repository's examples directory.

planned changes

  • give image pull chunked json a proper type

Doug Tangren (softprops) 2015-2018


lib.rs:

Shiplift is a multi-transport utility for maneuvering docker containers

examples

# async {
let docker = shiplift::Docker::new();

match docker.images().list(&Default::default()).await {
    Ok(images) => {
        for image in images {
            println!("{:?}", image.repo_tags);
        }
    },
    Err(e) => eprintln!("Something bad happened! {}", e),
}
# };

Dependencies

~8–16MB
~300K SLoC