Struct boondock::Docker
[−]
[src]
pub struct Docker { /* fields omitted */ }
Methods
impl Docker
[src]
fn connect_with_defaults() -> Result<Docker>
Connect to the Docker daemon using the standard Docker
configuration options. This includes DOCKER_HOST
,
DOCKER_TLS_VERIFY
, DOCKER_CERT_PATH
and DOCKER_CONFIG
, and we
try to interpret these as much like the standard docker
client as
possible.
fn connect_with_unix(addr: &str) -> Result<Docker>
fn connect_with_ssl(addr: &str,
ssl_key: &Path,
ssl_cert: &Path,
ssl_ca: &Path)
-> Result<Docker>
ssl_key: &Path,
ssl_cert: &Path,
ssl_ca: &Path)
-> Result<Docker>
fn connect_with_http(addr: &str) -> Result<Docker>
Connect using unsecured HTTP. This is strongly discouraged everywhere but on Windows when npipe support is not available.
fn containers(&self, opts: ContainerListOptions) -> Result<Vec<Container>>
fn processes(&self, container: &Container) -> Result<Vec<Process>>
fn stats(&self, container: &Container) -> Result<StatsReader>
fn create_image(&self, image: String, tag: String) -> Result<Vec<ImageStatus>>
fn images(&self, all: bool) -> Result<Vec<Image>>
fn system_info(&self) -> Result<SystemInfo>
fn container_info(&self, container: &Container) -> Result<ContainerInfo>
fn filesystem_changes(&self,
container: &Container)
-> Result<Vec<FilesystemChange>>
container: &Container)
-> Result<Vec<FilesystemChange>>