[][src]Trait tc_core::Docker

pub trait Docker where
    Self: Sized
{ fn run<I: Image>(&self, image: I) -> Container<Self, I>;
fn logs(&self, id: &str) -> Logs;
fn ports(&self, id: &str) -> Ports;
fn rm(&self, id: &str);
fn stop(&self, id: &str); }
Deprecated since 0.3.1:

Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8

Defines the minimum API required for interacting with the Docker daemon.

Required methods

fn run<I: Image>(&self, image: I) -> Container<Self, I>

Deprecated since 0.3.1:

Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8

fn logs(&self, id: &str) -> Logs

Deprecated since 0.3.1:

Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8

fn ports(&self, id: &str) -> Ports

Deprecated since 0.3.1:

Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8

fn rm(&self, id: &str)

Deprecated since 0.3.1:

Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8

fn stop(&self, id: &str)

Deprecated since 0.3.1:

Testcontainers is no longer using microcrates, please upgrade to testcontainers version 0.8

Loading content...

Implementors

Loading content...