* Add indication to use docker create/run on port mapping #11420
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
Signed-off-by: Maximillian Fan Xavier <maximillianfx@gmail.com>
* Removed wrong information about container DNS
In the docs it says a container will inherit the host /etc/hosts file along with /etc/resolv.conf. While the latter part is correct, /etc/hosts will not actually be inherited, as reported https://github.com/moby/moby/issues/39311.
An additional line of text has been added to emphasize the fact that /etc/hosts are not inherited
* Removed extra hash on the run command redirect
* Update config/containers/container-networking.md
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>