Skip to content

Commit

Permalink
fix(docker): https port error
Browse files Browse the repository at this point in the history
  • Loading branch information
syfxlin committed Jan 6, 2024
1 parent 16b8c75 commit 04c02cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/docker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 04c02cd

Please sign in to comment.