Move -o cli flag and DriverConfig from HostConfig

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
Michael Crosby
2014-04-07 14:44:52 -07:00
parent d8fc3eecf5
commit ffebcb660f
3 changed files with 2 additions and 16 deletions
+1 -5
View File
@@ -361,12 +361,8 @@ func (container *Container) Attach(stdin io.ReadCloser, stdinCloser io.Closer, s
func populateCommand(c *Container) {
var (
en *execdriver.Network
driverConfig = c.hostConfig.DriverOptions
)
if driverConfig == nil {
driverConfig = make(map[string][]string)
}
)
en = &execdriver.Network{
Mtu: c.runtime.config.Mtu,