Victor Vieux 11 лет назад
Родитель
Сommit
f3685333c0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      container.go

+ 1 - 1
container.go

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