The option --add-host and --net=host should not be mutually exclusive.
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 <765086fe2e0c1f980161f127fec596800f327f62@outlook.com>

riyazdf/cli,allencloud/cli,docker/cli,allencloud/cli,cpuguy83/cli,dnephin/cli,dnephin/cli,riyazdf/cli,thaJeztah/cli,e11137/cli,cpuguy83/cli,e11137/cli,thaJeztah/cli,redpanda/cli,docker/cli,Zebrilee/cli,Zebrilee/cli,ashfall/cli,redpanda/cli,ashfall/cli