Fix hostname support for compose file
Pass the hostname from ContainerSpec to the actual container. Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: d0117238fa74ea75cdec7b9205620c59bafc4508 Component: engine
This commit is contained in:
committed by
Daniel Nephin
parent
15d5c8d4af
commit
38597e8d2b
@ -143,6 +143,7 @@ func (c *containerConfig) config() *enginecontainer.Config {
|
||||
User: c.spec().User,
|
||||
Hostname: c.spec().Hostname,
|
||||
Env: c.spec().Env,
|
||||
Hostname: c.spec().Hostname,
|
||||
WorkingDir: c.spec().Dir,
|
||||
Image: c.image(),
|
||||
Volumes: c.volumes(),
|
||||
|
||||
Reference in New Issue
Block a user