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

#460 in Unix APIs

Download history 605/week @ 2024-01-14 765/week @ 2024-01-21 584/week @ 2024-01-28 527/week @ 2024-02-04 591/week @ 2024-02-11 671/week @ 2024-02-18 594/week @ 2024-02-25 849/week @ 2024-03-03 863/week @ 2024-03-10 637/week @ 2024-03-17 705/week @ 2024-03-24 1115/week @ 2024-03-31 855/week @ 2024-04-07 503/week @ 2024-04-14 552/week @ 2024-04-21 751/week @ 2024-04-28

2,740 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

~10–23MB
~366K SLoC