mirror of https://github.com/docker/docs.git
Fix logic flaw in builder.mergeConfig
This commit is contained in:
parent
d586662ce5
commit
04748a7766
|
@ -45,7 +45,7 @@ func (builder *Builder) mergeConfig(userConf, imageConf *Config) {
|
|||
userConf.PortSpecs = imageConf.PortSpecs
|
||||
}
|
||||
if !userConf.Tty {
|
||||
userConf.Tty = userConf.Tty
|
||||
userConf.Tty = imageConf.Tty
|
||||
}
|
||||
if !userConf.OpenStdin {
|
||||
userConf.OpenStdin = imageConf.OpenStdin
|
||||
|
|
Loading…
Reference in New Issue