[][src]Trait testcontainers::Docker

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

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

Required methods

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

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

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

fn rm(&self, id: &str)

fn stop(&self, id: &str)

Loading content...

Implementors

impl Docker for Cli[src]

Loading content...