Browse Source

Merge pull request #2525 from dotcloud/fix_hostnames

Fix regression in /etc/hosts
Guillaume J. Charmes 11 years ago
parent
commit
342bd43b76
1 changed files with 1 additions and 1 deletions
  1. 1 1
      container.go

+ 1 - 1
container.go

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