Docker Desktop keeps adding my network address to my hosts file regardless of what is already in there:
# Added by Docker Desktop 192.168.12.123 host.docker.internal 192.168.12.123 gateway.docker.internal
This is a real problem for me because when I go from my home network to my office network I end up with two sets of conflicting mappings for these names and then these names fail to resolve causing calls to local endpoints to fail. I already have host.docker.internal mapped to 127.0.0.1 and want to keep it that way.
You should be able to turn this behavior off or at the very least be prompted when DD is making these changes.
Is there any way to prevent this behavior other than revoking DD permissions on the file?