pub fn env<T>(&mut self, env: T) -> &mut Self
        where T: Into<String>
    {
        self.env.push(env.into());

        self
    }
/// Append environment variable for this container.
///
/// # Examples
///
/// ```rust
/// # use docker_client::container::ConfigBuilder;
/// let builder = ConfigBuilder::with_image("alpine")
///     .env("VAR=example-value")
///     .build();
/// ```
Append environment variable for this container.
Append environment variable for this container .
pub fn env<T>(&mut self, env: T) -> &mut Self
        where T: Into<String>
    {
        self.env.push(env.into());
        self
    }
pub fn env < T > ( & mut self , env : T ) -> & mut Self where T : Into < String > { self . env . push ( env . into ( ) ) ; self }
Append environment variable for this container.
Append environment variable for this container .
&mut self
env
T
&mut self
env
T
examples
None
use docker_client::container::configbuilder;
let builder = ConfigBuilder::with_image("alpine")
.env("VAR=example-value")
.build();
```
let builder = ConfigBuilder :: with_image ( " alpine " ) . env ( " VAR = example - value " ) . build () ; ` ` `