We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b16c03c commit 5b02dbfCopy full SHA for 5b02dbf
src/interceptors/docker/docker-networking.ts
@@ -210,7 +210,11 @@ class DockerNetworkMonitor {
210
211
// The list of mappings per-network, binding aliases to their (0+) target IPs
212
get aliasIpMap(): { [host: string]: ReadonlySet<string> } {
213
- return combineSetMaps(...Object.values(this.networkTargets));
+ return combineSetMaps(...Object.values(this.networkTargets), {
214
+ // The Docker hostname always maps to the host's localhost, and it's not automatically included
215
+ // on platforms (Windows & Mac) where Docker resolves it implicitly.
216
+ [DOCKER_HOST_HOSTNAME]: new Set(['127.0.0.1'])
217
+ });
218
}
219
220
onEvent = async (event: DockerEvent) => {
0 commit comments