Changed the explicit mention of Docker due to deprecation in Tasks > Netwrking

This commit is contained in:
Purneswar Prasad
2022-01-19 13:24:15 +05:30
committed by GitHub
parent ebceaf1343
commit bf6e6caa12
@@ -118,9 +118,9 @@ with the additional entries specified at the bottom.
## Why does the kubelet manage the hosts file? {#why-does-kubelet-manage-the-hosts-file}
The kubelet [manages](https://github.com/kubernetes/kubernetes/issues/14633) the
`hosts` file for each container of the Pod to prevent Docker from
[modifying](https://github.com/moby/moby/issues/17190) the file after the
containers have already been started.
`hosts` file for each container of the Pod to prevent the container runtime from
modifying the file after the containers have already been started.
For e.g. earlier Docker used to [modify](https://github.com/moby/moby/issues/17190) the `hosts` file after the containers start.
{{< caution >}}
Avoid making manual changes to the hosts file inside a container.