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

#60 in Unix APIs

Download history 477/week @ 2021-07-01 650/week @ 2021-07-08 817/week @ 2021-07-15 984/week @ 2021-07-22 670/week @ 2021-07-29 811/week @ 2021-08-05 1120/week @ 2021-08-12 1444/week @ 2021-08-19 2279/week @ 2021-08-26 2489/week @ 2021-09-02 2438/week @ 2021-09-09 2611/week @ 2021-09-16 3722/week @ 2021-09-23 2774/week @ 2021-09-30 1529/week @ 2021-10-07 1046/week @ 2021-10-14

1,405 downloads per month
Used in less than 10 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

~11MB
~223K SLoC