Skip to content

P3KI/shiplift

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

362 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

shiplift

Build Status crates.io MIT licensed Released API docs Master API docs

a rust interface for maneuvering docker containers

install

Add the following to your Cargo.toml file

[dependencies]
shiplift = "0.5"

usage

communicating with hosts

To use shiplift, you must first have a docker daemon readily accessible. Typically this daemon process is resolvable via a url specified by an env var named DOCKER_HOST.

let docker = shiplift::Docker::new();

If you wish to be more explicit you can provide a host in the form of a url.Url.

use shiplift::Docker;
use url::Url;

let docker = Docker::host(Url::parse("http://yourhost").unwrap());

Examples

Many small runnable example programs can be found in this repository's examples directory.

planned changes

  • give image pull chunked json a proper type

Doug Tangren (softprops) 2015-2018

About

🐳 πŸ¦€ rust interface for maneuvering docker containers

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Rust 100.0%