Go back to using docker exec in cloudron exec

The main issue is that multiple cloudron exec sessions do not
share the same rootfs. Which makes it annoying to debug.

We also have some nginx timeout which drops you out of exec
now and then resulting in loss of all state.
This commit is contained in:
girish@cloudron.io
2016-01-15 15:15:24 -08:00
parent 9b061a4c7c
commit 28baef8929
3 changed files with 17 additions and 31 deletions

View File

@@ -369,8 +369,5 @@ function exec(req, res, next) {
duplexStream.pipe(res.socket);
res.socket.pipe(duplexStream);
res.on('close', duplexStream.close);
});
}