Pass the hostname from ContainerSpec to the actual container.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
| ... | ... |
@@ -143,6 +143,7 @@ func (c *containerConfig) config() *enginecontainer.Config {
|
| 143 | 143 |
User: c.spec().User, |
| 144 | 144 |
Hostname: c.spec().Hostname, |
| 145 | 145 |
Env: c.spec().Env, |
| 146 |
+ Hostname: c.spec().Hostname, |
|
| 146 | 147 |
WorkingDir: c.spec().Dir, |
| 147 | 148 |
Image: c.image(), |
| 148 | 149 |
Volumes: c.volumes(), |