#docker #container #async #unix

async_docker

A Rust asynchronous interface for Docker API

2 releases

Uses old Rust 2015

0.1.1 Aug 16, 2018
0.1.0 Aug 16, 2018

#25 in #containers

MIT license

105KB
3K SLoC

shiplift fork [WIP]

a rust interface for maneuvering docker containers

In this fork there are two main branches:

  • refactor, this is continuation of refactor started by matthiasbeyer/shiplift/refactor - there had been many issues that were fixed here.
  • async, massive asynchronous refactor of shiplift library

install

Add the following to your Cargo.toml file

[dependencies]
shiplift = { git = "https://github.com/destruktiw/shiplift", branch = "<name>" }

<name> should be async or refactor.


lib.rs:

Shiplift is a multi-transport utility for maneuvering docker containers

examples

extern crate async_docker;

let docker = async_docker::Docker::new();
let images = docker.images().list(&Default::default()).unwrap();
debug!("docker images in stock");
for i in images {
  debug!("{:?}", i.RepoTags);
}

Dependencies

~18MB
~350K SLoC