diff --git a/apps/dokploy/server/utils/docker.ts b/apps/dokploy/server/utils/docker.ts index 7577c844..92008678 100644 --- a/apps/dokploy/server/utils/docker.ts +++ b/apps/dokploy/server/utils/docker.ts @@ -14,7 +14,7 @@ export const isWSL = async () => { /** Returns the Docker host IP address. */ export const getDockerHost = async (): Promise => { if (process.env.NODE_ENV === "production") { - if (process.platform === "linux" && !isWSL()) { + if (process.platform === "linux" && !(await isWSL())) { try { // Try to get the Docker bridge IP first const { stdout } = await execAsync(