File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
content/en/docs/tasks/network Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,9 @@ with the additional entries specified at the bottom.
118
118
## Why does the kubelet manage the hosts file? {#why-does-kubelet-manage-the-hosts-file}
119
119
120
120
The kubelet [ manages] ( https://github.com/kubernetes/kubernetes/issues/14633 ) the
121
- ` hosts ` file for each container of the Pod to prevent Docker from
122
- [ modifying] ( https://github.com/moby/moby/issues/17190 ) the file after the
123
- containers have already been started .
121
+ ` hosts ` file for each container of the Pod to prevent the container runtime from
122
+ modifying the file after the containers have already been started.
123
+ For e.g. earlier Docker used to [ modify ] ( https://github.com/moby/moby/issues/17190 ) the ` hosts ` file after the containers start .
124
124
125
125
{{< caution >}}
126
126
Avoid making manual changes to the hosts file inside a container.
You can’t perform that action at this time.
0 commit comments