moby--moby/runconfig
Yong Tang 90bd41a74d The option --add-host and --net=host should not be mutually exclusive.
This fix tries to address the issue raised in #21976 and allows
the options of `--add-host` and `--net=host` to work at the same time.

The documentation has been updated and additional tests have been
added to cover this change.

This fix fixes #21976.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-05-24 18:49:11 -07:00
..
fixtures Move the runconfig.Parse() function into the runconfig/opts package. 2016-01-04 12:06:29 -05:00
opts Merge pull request #21641 from yongtang/21595-discrepancy-on-hostname-validation 2016-04-28 09:25:13 +02:00
compare.go Vendor engine-api to 70d266e96080e3c3d63c55a4d8659e00ac1f7e6c 2016-02-29 19:28:37 +08:00
compare_test.go Vendor engine-api to 70d266e96080e3c3d63c55a4d8659e00ac1f7e6c 2016-02-29 19:28:37 +08:00
config.go Add IO Resource Controls for Windows 2016-04-25 13:07:29 -07:00
config_test.go Vendor engine-api to 70d266e96080e3c3d63c55a4d8659e00ac1f7e6c 2016-02-29 19:28:37 +08:00
config_unix.go fix some typos. 2016-03-10 10:09:27 +08:00
config_windows.go fix some typos. 2016-03-10 10:09:27 +08:00
errors.go Allow --hostname with --net=host 2016-03-09 20:40:12 -05:00
hostconfig.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
hostconfig_solaris.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
hostconfig_test.go Fix failed test for TestRestartPolicy 2016-05-13 20:39:35 -07:00
hostconfig_unix.go The option --add-host and --net=host should not be mutually exclusive. 2016-05-24 18:49:11 -07:00
hostconfig_windows.go Add IO Resource Controls for Windows 2016-04-25 13:07:29 -07:00
streams.go Improve performance/reduce allocs of bytespipe 2016-04-05 13:06:04 -04:00