Files
docker-cli/components/engine/integration-cli
Yong Tang e76537d57c Fix issue for --hostname when running in "--net=host"
This fix tries to address the issue raised in 29129 where
"--hostname" not working when running in "--net=host" for
`docker run`.

The fix fixes the issue by not resetting the `container.Config.Hostname`
if the `Hostname` has already been assigned through `--hostname`.

An integration test has been added to cover the changes.

This fix fixes 29129.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: b0a7b0120f4461daa34527a743087e73ef8f5963
Component: engine
2016-12-06 07:29:45 -08:00
..
2016-11-18 15:51:36 +08:00
2016-10-29 15:03:26 +08:00
2016-06-02 17:17:22 +08:00
2016-09-07 17:30:35 -04:00
2016-11-04 13:38:50 -07:00
2016-09-02 19:07:54 -07:00