summaryrefslogtreecommitdiff
path: root/vendor/go.mozilla.org
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2021-08-03 14:07:28 -0400
committerMatthew Heon <matthew.heon@pm.me>2021-08-04 09:54:23 -0400
commitcfcd1e1863ad4fb31476364bde64a70dc1f1196c (patch)
tree52506bc9704e439ac00f626c91d0a7e438a90099 /vendor/go.mozilla.org
parente93661f5e765d84893e2ad5a488682c0a67412d0 (diff)
downloadpodman-cfcd1e1863ad4fb31476364bde64a70dc1f1196c.tar.gz
podman-cfcd1e1863ad4fb31476364bde64a70dc1f1196c.tar.bz2
podman-cfcd1e1863ad4fb31476364bde64a70dc1f1196c.zip
Do not add an entry to /etc/hosts with `--net=host`
To match Docker's behavior, in the `--net=host` case, we need to use the host's `/etc/hosts` file, unmodified (without adding an entry for the container). We will still respect hosts from `--add-host` but will not make any automatic changes. Fortuntely, this is strictly a matter of removal and refactoring as we already base our `/etc/hosts` on the host's version - just need to remove the code that added entries when net=host was set. Fixes #10319 Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'vendor/go.mozilla.org')
0 files changed, 0 insertions, 0 deletions