{"id":28754203,"url":"https://github.com/widilo/delete-docker-desktop","last_synced_at":"2026-04-29T19:31:49.943Z","repository":{"id":299211085,"uuid":"1002363673","full_name":"widilo/delete-docker-desktop","owner":"widilo","description":"How to delete Docker Desktop  from a Windows machine and remove \"host.docker.internal\".","archived":false,"fork":false,"pushed_at":"2025-06-15T10:15:26.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-25T03:07:20.667Z","etag":null,"topics":["delete","dns","docker","docker-desktop","how-to","uninstall","windows"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/widilo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-15T10:05:44.000Z","updated_at":"2025-06-15T10:20:26.000Z","dependencies_parsed_at":"2025-06-15T11:40:50.854Z","dependency_job_id":null,"html_url":"https://github.com/widilo/delete-docker-desktop","commit_stats":null,"previous_names":["widilo/delete-docker-desktop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/widilo/delete-docker-desktop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widilo%2Fdelete-docker-desktop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widilo%2Fdelete-docker-desktop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widilo%2Fdelete-docker-desktop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widilo%2Fdelete-docker-desktop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/widilo","download_url":"https://codeload.github.com/widilo/delete-docker-desktop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widilo%2Fdelete-docker-desktop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32440874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["delete","dns","docker","docker-desktop","how-to","uninstall","windows"],"created_at":"2025-06-17T01:07:52.292Z","updated_at":"2026-04-29T19:31:49.928Z","avatar_url":"https://github.com/widilo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Delete Docker Desktop\nHow to delete Docker Desktop  from a Windows machine and remove \"host.docker.internal\":\n\nDocker's uninstall process may not always remove entries like `host.docker.internal`. If you uninstall Docker and still have `host.docker.internal` entries in your `hosts` file, it can cause DNS resolution issues for your container. To delete Docker Desktop  from a Windows machine and remove \"host.docker.internal\" resolution  issues, you need to uninstall Docker Desktop, then manually edit the `hosts` file to remove Docker's entries. Additionally, you may need to refresh the DHCP configuration to ensure the changes are reflected. \n\nHere's a step-by-step guide:   \n\n**1.**  **Uninstall Docker Desktop:** \n   - Open Docker Desktop. \n   - Click the Troubleshoot icon in the top-right corner. \n   - Select \"Uninstall\". \n\nAlternatively, you can uninstall Docker for Windows through the Windows Settings \u003e Apps \u0026 Features. \n\n**2.**  Edit the `hosts` file: \n\n- Open the `hosts` file located at `C:\\Windows\\System32\\Drivers\\etc\\hosts`. \n\nRemove any lines that start with `192.168.1.4` or `127.0.0.1` followed by `host.docker.internal`. \n\n-  Save the file. \n\n**3.**  **Refresh DHCP (Optional):** \n\n- If you're still experiencing issues resolving `host.docker.internal` after editing the `hosts` file, you can try refreshing the DHCP configuration. \n- Open a command prompt and run `ipconfig /flushdns`. \n\n**4.**  **Restart your machine.**\n\nExplanation:   \n\n- `host.docker.internal`: This DNS name is used by Docker containers to refer to the host machine. It's automatically added to the `hosts` file when Docker Desktop is installed. \n\n**Why remove it?** \n\nDocker's uninstall process may not always remove entries like `host.docker.internal`. If you uninstall Docker and still have `host.docker.internal` entries in your `hosts` file, it can cause DNS resolution issues for your container. \n\n**5. Refreshing DHCP:** \n\nThis process helps ensure that your system's DNS cache is updated with the changes you've made to the `hosts` file. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwidilo%2Fdelete-docker-desktop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwidilo%2Fdelete-docker-desktop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwidilo%2Fdelete-docker-desktop/lists"}