From 04c02cd60dce4a3d346ad8efcc013d7e239dea6e Mon Sep 17 00:00:00 2001 From: syfxlin Date: Sun, 7 Jan 2024 01:04:16 +0800 Subject: [PATCH] fix(docker): https port error --- src/services/docker/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/docker/index.ts b/src/services/docker/index.ts index f724c19..5b3367d 100644 --- a/src/services/docker/index.ts +++ b/src/services/docker/index.ts @@ -77,7 +77,7 @@ export class DockerNode implements DepkerMaster { this.docker = [`docker`, `--host`, `tcp://${host}:${port}`]; } else if (options?.type === "https") { const host = options.host || Deno.env.get("REMOTE_HOST") || "localhost"; - const port = options.port || Deno.env.get("REMOTE_PORT") || 2375; + const port = options.port || Deno.env.get("REMOTE_PORT") || 2376; this.docker = [`docker`, `--host`, `tcp://${host}:${port}`]; // ca const ca = options.ca || Deno.env.get("REMOTE_CA");