1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #2525 from dotcloud/fix_hostnames

Fix regression in /etc/hosts
This commit is contained in:
Guillaume J. Charmes 2013-11-04 11:26:27 -08:00
commit 342bd43b76

View file

@ -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,