From 4d07b65bdd6f9b4fd21bfb2b02ae0596e2dfe6e9 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 19 Aug 2023 22:45:58 +0200 Subject: [PATCH] fixed local docker not working anymore (#3606) --- server/docker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/docker.js b/server/docker.js index 1a8c0a5d2..56f325828 100644 --- a/server/docker.js +++ b/server/docker.js @@ -80,8 +80,8 @@ class DockerHost { options.socketPath = dockerHost.dockerDaemon; } else if (dockerHost.dockerType === "tcp") { options.baseURL = DockerHost.patchDockerURL(dockerHost.dockerDaemon); + options.httpsAgent = new https.Agent(DockerHost.getHttpsAgentOptions(dockerHost.dockerType, options.baseURL)); } - options.httpsAgent = new https.Agent(DockerHost.getHttpsAgentOptions(dockerHost.dockerType, options.baseURL)); let res = await axios.request(options);