You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I updated my Docker Desktop with winget to the version 4.33.1, the setup cleared my .hosts file under: C:\Windows\System32\drivers\etc\hosts
I had several rules defined there. But after the setup, there was only the docker section left:
# Added by Docker Desktop
192.168.142.42 host.docker.internal
192.168.142.42 gateway.docker.internal
# To allow the same kube context to work on the host and the container:
127.0.0.1 kubernetes.docker.internal
# End of section
I recognized this, because my firewall warned me that my .hosts file was changed.
Check your host .hosts and search for your entries.
They are gone now, and only the # Added by Docker Desktop block is left.
Expected behavior
Docker should never overwrite the .hosts file. Especially without a warning.
I should only append its block on top or bottom of the file. If it needs an update to its configuration, it should try to clean up only the old docker configuration lines and never user-defined lines.
Description
After I updated my Docker Desktop with winget to the version 4.33.1, the setup cleared my
.hosts
file under:C:\Windows\System32\drivers\etc\hosts
I had several rules defined there. But after the setup, there was only the docker section left:
I recognized this, because my firewall warned me that my
.hosts
file was changed.Reproduce
.hosts
file.hosts
and search for your entries.They are gone now, and only the
# Added by Docker Desktop
block is left.Expected behavior
Docker should never overwrite the
.hosts
file. Especially without a warning.I should only append its block on top or bottom of the file. If it needs an update to its configuration, it should try to clean up only the old docker configuration lines and never user-defined lines.
docker version
docker info
Diagnostics ID
Doesn't matter
Additional Info
No response
The text was updated successfully, but these errors were encountered: