Skip to content

Commit d784193

Browse files
committed
changeset
1 parent 906780d commit d784193

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.changeset/full-pugs-say.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"@cloudflare/containers-shared": patch
3+
"wrangler": patch
4+
---
5+
6+
feat: try to automatically get path of docker socket
7+
8+
Currently, if your container tool isn't set up to listen at `unix:///var/run/docker.sock` (or isn't symlinked to that), then you have to manually set this via the `dev.containerEngine` field in your Wrangler config, or via the env vars `WRANGLER_DOCKER_HOST`. This change means that we will try and get the socket of the current context automatically. This should reduce the occurrence of opaque `internal error`s thrown by the runtime when the daemon is not listening at `unix:///var/run/docker.sock`.
9+
10+
You can still override this with `WRANGLER_DOCKER_HOST`, and we also now read `DOCKER_HOST` too.

0 commit comments

Comments
 (0)