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

#582 in Unix APIs

Download history 351/week @ 2024-07-20 691/week @ 2024-07-27 3363/week @ 2024-08-03 7009/week @ 2024-08-10 2588/week @ 2024-08-17 4540/week @ 2024-08-24 5842/week @ 2024-08-31 3739/week @ 2024-09-07 1763/week @ 2024-09-14 2982/week @ 2024-09-21 3728/week @ 2024-09-28 1701/week @ 2024-10-05 2600/week @ 2024-10-12 2108/week @ 2024-10-19 1608/week @ 2024-10-26 3651/week @ 2024-11-02

10,220 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

~12–24MB
~366K SLoC