Merge pull request #2525 from dotcloud/fix_hostnames
Fix regression in /etc/hosts Upstream-commit: 342bd43b766e828753ffec35a6ae9b76e988c483 Component: engine
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user