2 releases

0.5.2 Oct 13, 2019
0.5.1 Oct 13, 2019

#12 in #ship

37 downloads per month

MIT license

125KB
3.5K SLoC

Warning

Nothing official there, a test


lib.rs:

Shiplift is a multi-transport utility for maneuvering docker containers

examples

use tokio::prelude::Future;

let docker = shiplift::Docker::new();
let fut = docker.images().list(&Default::default()).map(|images| {
  println!("docker images in stock");
  for i in images {
    println!("{:?}", i.repo_tags);
  }
}).map_err(|e| eprintln!("Something bad happened! {}", e));

tokio::run(fut);

Dependencies

~13–24MB
~380K SLoC