mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix regression in /etc/hosts
This commit is contained in:
parent
fc45535197
commit
f3685333c0
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ func ParseRun(args []string, capabilities *Capabilities) (*Config, *HostConfig,
|
|||
}
|
||||
|
||||
config := &Config{
|
||||
Hostname: *flHostname,
|
||||
Hostname: hostname,
|
||||
Domainname: domainname,
|
||||
PortSpecs: nil, // Deprecated
|
||||
ExposedPorts: ports,
|
||||
|
|
Loading…
Add table
Reference in a new issue