mirror of https://github.com/docker/docs.git
Merge pull request #2525 from dotcloud/fix_hostnames
Fix regression in /etc/hosts
This commit is contained in:
commit
342bd43b76
|
|
@ -304,7 +304,7 @@ func ParseRun(args []string, capabilities *Capabilities) (*Config, *HostConfig,
|
||||||
}
|
}
|
||||||
|
|
||||||
config := &Config{
|
config := &Config{
|
||||||
Hostname: *flHostname,
|
Hostname: hostname,
|
||||||
Domainname: domainname,
|
Domainname: domainname,
|
||||||
PortSpecs: nil, // Deprecated
|
PortSpecs: nil, // Deprecated
|
||||||
ExposedPorts: ports,
|
ExposedPorts: ports,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue