pub fn volume<T>(&mut self, volume: T) -> &mut Self
        where T: Into<String>
    {
        self.volumes.insert(volume.into(), EmptyObject{});

        self
    }
/// Append volume for this container.
///
/// # Examples
///
/// ```rust
/// # use docker_client::container::ConfigBuilder;
/// let builder = ConfigBuilder::with_image("alpine")
///     .volume("/path/to/volume")
///     .build();
/// ```
Append volume for this container.
Append volume for this container .
pub fn volume<T>(&mut self, volume: T) -> &mut Self
        where T: Into<String>
    {
        self.volumes.insert(volume.into(), EmptyObject{});
        self
    }
pub fn volume < T > ( & mut self , volume : T ) -> & mut Self where T : Into < String > { self . volumes . insert ( volume . into ( ) , EmptyObject { } ) ; self }
Append volume for this container.
Append volume for this container .
&mut self
volume
T
&mut self
volume
T
examples
None
use docker_client::container::configbuilder;
let builder = ConfigBuilder::with_image("alpine")
.volume("/path/to/volume")
.build();
```
let builder = ConfigBuilder :: with_image ( " alpine " ) . volume ( " / path / to / volume " ) . build () ; ` ` `