Skip to content

Update to 4.18.0 removed 127.0.0.1 host.docker.internal from hosts file on windows #13398

@ILucasI

Description

@ILucasI
  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID:

Actual behavior

After the update to 4.18.0 the entry for 127.0.0.1 host.docker.internal was removed from my hosts file.

Expected behavior

The update should not remove this entry.

Information

  • Windows Version: 22H2
  • Docker Desktop Version: 4.18.0 (104112)
  • WSL2 or Hyper-V backend? WSL2
  • Are you running inside a virtualized Windows e.g. on a cloud server or a VM: no

Steps to reproduce the behavior

  1. Update to latest version

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions