mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
wip: allow connection from docker container
This commit is contained in:
1 parent
5ba0021c37
commit
4c292fd6ba
6 files changed
+36
-22
No files matched your search
@@ -77,7 +77,8 @@ async function connectContainer(socket: Socket, next: (err?: Error) => void) {
|
||||
stream,
|
||||
}
|
||||
next()
|
||||
} catch {
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
next(new Error('Failed to start container.'))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user