Longshoreman

codecov Continuous integration

Usage

```rust use longshoreman::{Docker, Result};

[tokio::main]

async fn main() -> Result<()> { let docker = Docker::new();

// Pull an image
docker.images().pull("ubuntu").tag("latest").send().await?;

// Create a container
let id = docker
    .containers()
    .create("ubuntu")
    .name("my-container")
    .send()
    .await?
    .id;

// Remove the container
docker
    .containers()
    .remove(id)
    .force(true)
    .send()
    .await?;

Ok(())

} ```

Design

This little Docker client started life as an attempt to drag Shiplift up to date, but it grew arms and legs.

There's not many endpoints implemented just yet, but my aim is that as they're added, they are well-tested and strongly-typed.

it's early days, and i'm happy to accept notes of interest in particular endpoints, as well as pull requests.

Contributing