From 74e0bd5fe3ef7199f44fcd19c6f5a2f09b806d6f Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Tue, 27 Jan 2026 08:37:06 -0600 Subject: [PATCH] fix(wss): update Docker command execution in terminal setup --- apps/dokploy/server/wss/docker-container-terminal.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dokploy/server/wss/docker-container-terminal.ts b/apps/dokploy/server/wss/docker-container-terminal.ts index 2bdaaf73d..efe2d450e 100644 --- a/apps/dokploy/server/wss/docker-container-terminal.ts +++ b/apps/dokploy/server/wss/docker-container-terminal.ts @@ -152,8 +152,8 @@ export const setupDockerContainerTerminalWebSocketServer = ( } const shell = getShell(); const ptyProcess = spawn( - "docker", - ["exec", "-it", "-w", "/", containerId, shell], + shell, + ["-c", `docker exec -it -w / ${containerId} ${activeWay}`], {}, );