Docker client

Build Status

Examples

Create container example.

```rust use dockerclient::DockerClient; use dockerclient::container::Creator;

fn main() {

let client = match DockerClient::connect("/var/run/docker.sock") {
    Ok(client) => client,
    Err(e) => panic!("Cannot connect to socket!"),
};

let creator = Creator::with_image("alpine")
    .name("test")
    .build();


match client.create_container(creator) {
    Ok(_) => {},
    Err(_) => {}
}

} ```