pub fn with_image<T>(image: T) -> Self
        where T: Into<String>
    {
        let mut builder = ConfigBuilder::new();
        builder.image = Some(image.into());
        builder
    }
/// Creates a new `ConfigBuilder` initialized with `image`.
///
/// This method returns an instance of `ConfigBuilder` which can be used to create a `Config`.
///
/// # Examples
///
/// Create a new `CreationBuilder` with image.
/// ```rust
/// # use docker_client::container::ConfigBuilder;
/// let builder = ConfigBuilder::with_image("example-image").build();
/// ```
Creates a new `ConfigBuilder` initialized with `image`.
This method returns an instance of `ConfigBuilder` which can be used to create a `Config`.
Creates a new ` ConfigBuilder ` initialized with ` image ` . This method returns an instance of ` ConfigBuilder ` which can be used to create a ` Config ` .
pub fn with_image<T>(image: T) -> Self
        where T: Into<String>
    {
        let mut builder = ConfigBuilder::new();
        builder.image = Some(image.into());
        builder
    }
pub fn with_image < T > ( image : T ) -> Self where T : Into < String > { let mut builder = ConfigBuilder :: new ( ) ; builder . image = Some ( image . into ( ) ) ; builder }
Creates a new `ConfigBuilder` initialized with `image`.
Creates a new ` ConfigBuilder ` initialized with ` image ` .
image
T
image
T
examples
Create a new `CreationBuilder` with image.
Create a new ` CreationBuilder ` with image .
use docker_client::container::configbuilder;
let builder = ConfigBuilder::with_image("example-image").build();
```
let builder = ConfigBuilder :: with_image ( " example - image " ) . build () ; ` ` `