mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 20:51:44 +00:00
Actually use the mergeConfig function
This commit is contained in:
+1
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user