Skip to content

Commit 75640c1

Browse files
authored
recommend DOCKER_HOST instead (#10097)
1 parent 687655f commit 75640c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/containers-shared/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const verifyDockerInstalled = async (
8383
// We assume this command is unlikely to fail for reasons other than the Docker daemon not running, or the Docker CLI not being installed or in the PATH.
8484
throw new Error(
8585
`The Docker CLI could not be launched. Please ensure that the Docker CLI is installed and the daemon is running.\n` +
86-
`Other container tooling that is compatible with the Docker CLI and engine may work, but is not yet guaranteed to do so. You can specify an executable with the environment variable WRANGLER_DOCKER_BIN and a socket with WRANGLER_DOCKER_HOST.` +
86+
`Other container tooling that is compatible with the Docker CLI and engine may work, but is not yet guaranteed to do so. You can specify an executable with the environment variable WRANGLER_DOCKER_BIN and a socket with DOCKER_HOST.` +
8787
`${isDev ? "\nTo suppress this error if you do not intend on triggering any container instances, set dev.enable_containers to false in your Wrangler config or passing in --enable-containers=false." : ""}`
8888
);
8989
}

packages/wrangler/src/__tests__/containers/deploy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ describe("wrangler deploy with containers", () => {
8383
).rejects.toThrowErrorMatchingInlineSnapshot(
8484
`
8585
[Error: The Docker CLI could not be launched. Please ensure that the Docker CLI is installed and the daemon is running.
86-
Other container tooling that is compatible with the Docker CLI and engine may work, but is not yet guaranteed to do so. You can specify an executable with the environment variable WRANGLER_DOCKER_BIN and a socket with WRANGLER_DOCKER_HOST.]
86+
Other container tooling that is compatible with the Docker CLI and engine may work, but is not yet guaranteed to do so. You can specify an executable with the environment variable WRANGLER_DOCKER_BIN and a socket with DOCKER_HOST.]
8787
`
8888
);
8989
});

0 commit comments

Comments
 (0)