mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-07 12:32:16 +00: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 shell = getShell();
|
||||||
const ptyProcess = spawn(
|
const ptyProcess = spawn(
|
||||||
"docker",
|
shell,
|
||||||
["exec", "-it", "-w", "/", containerId, shell],
|
["-c", `docker exec -it -w / ${containerId} ${activeWay}`],
|
||||||
{},
|
{},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user