Skip to content

Commit 58d2142

Browse files
committed
Log Docker proxy start/stop to better debug intermittent issues there
1 parent bbc5e6a commit 58d2142

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/interceptors/docker/docker-interception-services.ts

+2
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export async function startDockerInterceptionServices(
102102
};
103103
}
104104
};
105+
console.log(`Created docker-tunnel-proxy-${proxyPort}`);
105106

106107
await Promise.all([
107108
// Proxy all terminal Docker API requests, to rewrite & add injection:
@@ -137,6 +138,7 @@ export async function stopDockerInterceptionServices(
137138
stopMonitoringDockerNetworkAliases(proxyPort);
138139
await deleteAllInterceptedDockerData(proxyPort);
139140
delete ruleParameters[`docker-tunnel-proxy-${proxyPort}`];
141+
console.log(`Removed docker-tunnel-proxy-${proxyPort}`);
140142
// Note that we _don't_ drop the data volume, we're OK with leaving that
141143
// around since it's invisible, tiny, and mildly expensive (a few seconds)
142144
// to recreate.

0 commit comments

Comments
 (0)