Skip to content

raphamorim/rust-dockerclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

rust-dockerclient

This package presents a client for the Docker remote API. It currently supports the Docker API up to version 1.23.

Note that docker's network API is only available in docker 1.8 and above, and only enabled in docker if DOCKER_EXPERIMENTAL is defined during the docker build process.

For more details, check the remote API documentation.

How it works?

extern crate docker;

use docker::Docker;

fn main() {
    let endpoint = "/var/run/docker.sock";
    let client = Docker::new(endpoint);
    let images = client.list_images();
}

Inspired by go-dockerclient

Releases

No releases published

Packages

No packages published

Languages