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

#396 in Unix APIs

Download history 867/week @ 2023-02-13 636/week @ 2023-02-20 559/week @ 2023-02-27 686/week @ 2023-03-06 850/week @ 2023-03-13 1089/week @ 2023-03-20 1667/week @ 2023-03-27 1192/week @ 2023-04-03 1212/week @ 2023-04-10 1054/week @ 2023-04-17 1358/week @ 2023-04-24 1382/week @ 2023-05-01 1243/week @ 2023-05-08 1073/week @ 2023-05-15 907/week @ 2023-05-22 910/week @ 2023-05-29

4,146 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

~9–16MB
~297K SLoC