Actually use the mergeConfig function
This commit is contained in:
parent
ae97477284
commit
7ff65d40d5
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue