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

#5 in #ship

Download history 4346/week @ 2024-08-08 5606/week @ 2024-08-15 3517/week @ 2024-08-22 4834/week @ 2024-08-29 4559/week @ 2024-09-05 2850/week @ 2024-09-12 2438/week @ 2024-09-19 3998/week @ 2024-09-26 2042/week @ 2024-10-03 2222/week @ 2024-10-10 2112/week @ 2024-10-17 2120/week @ 2024-10-24 3107/week @ 2024-10-31 2074/week @ 2024-11-07 2760/week @ 2024-11-14 3136/week @ 2024-11-21

11,738 downloads per month
Used in fewer than 10 crates

MIT license

150KB
4.5K SLoC

shiplift

GitHub Actions 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

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

~11–24MB
~365K SLoC