You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: address review feedback on DinD configuration
- Export getLocalDockerEnv() and use it in host-iptables.ts for all
docker CLI calls (network inspect/create/rm) so they target the
local daemon when DOCKER_HOST points at an external TCP daemon
- Forward full set of Docker client env vars into agent container
(DOCKER_TLS_VERIFY, DOCKER_CERT_PATH, DOCKER_CONTEXT, etc.) not
just DOCKER_HOST, so TLS-authenticated DinD daemons work
- Update warning message to describe auto-redirect behavior instead
of reusing old fatal error text
- Validate --docker-host flag is a unix:// URI; reject TCP/SSH
- Remove extra blank line before Troubleshooting in docs/environment
- Update host-iptables tests for new env option in docker calls
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/environment.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -246,8 +246,6 @@ The DinD TCP address (e.g., `tcp://localhost:2375`) typically refers to the runn
246
246
- **`--enable-host-access`** — allows the agent to reach `host.docker.internal` and set `DOCKER_HOST=tcp://host.docker.internal:2375` inside the agent.
247
247
- **`--enable-dind`** — mounts the local Docker socket (`/var/run/docker.sock`) directly into the agent container (only works when using the local daemon, not a remote DinD TCP socket).
248
248
249
-
250
-
251
249
## Troubleshooting
252
250
253
251
**Variable not accessible:** Use `sudo -E` or pass explicitly with `--env VAR="$VAR"`
0 commit comments