diff --git a/runtime.go b/runtime.go index 9d2d889e8d..c0502363ef 100644 --- a/runtime.go +++ b/runtime.go @@ -121,9 +121,8 @@ func (runtime *Runtime) Create(config *Config) (*Container, error) { return nil, err } - //runtime.mergeConfig(config, img.Config) if img.Config != nil { - config = img.Config + runtime.mergeConfig(config, img.Config) } if config.Cmd == nil {