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.
2 parents a8f2bc1 + d635599 commit 2e212a7Copy full SHA for 2e212a7
1 file changed
taskweaver/ces/environment.py
@@ -269,6 +269,13 @@ def start_session(
269
f"{new_port_start + 3}/tcp": None,
270
f"{new_port_start + 4}/tcp": None,
271
},
272
+ # Block access to host's localhost via "magic domains" in Docker Desktop,
273
+ # Podman, and Containerd on Lima (macOS/Windows) to prevent container escape
274
+ extra_hosts={
275
+ "host.docker.internal": "0.0.0.0",
276
+ "host.containers.internal": "0.0.0.0",
277
+ "host.lima.internal": "0.0.0.0",
278
+ },
279
)
280
281
tick = 0
0 commit comments