e76537d57c87e493e79f5fdf5337d553498a911c
--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
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%