mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-16 04:35:24 +02:00
fix(wss): update Docker command execution in terminal setup
This commit is contained in:
@@ -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}`],
|
||||
{},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user