harbourmaster

Build Status Latest Docs

Harbourmaster is a library of high-level abstractions of Docker objects.

Harbourmaster is built on top of the excellent 'shiplift', but provides an object-oriented interface that is a little easier to work with for some use cases.

Particularly useful for unit testing that involves spinning up and then removing Docker containers.

Usage

```rust use tokio::prelude::Future; use harbourmaster::Container;

let image = "alpine";

let fut = Container::new(image) .map( |container| { println!("container created!"); container }) .andthen( |container| { println!("removing container"); container.delete() }) .maperr( |e| println!("Error: {}", e) );

tokio::run(fut); ```


Current version: 0.0.0

License: Apache-2.0