[lxc-devel] [lxd/master] Improve websocket doc in container exec
j8r on Github
lxc-bot at linuxcontainers.org
Thu Jan 9 15:18:04 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 414 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200109/aa7d7b1f/attachment.bin>
-------------- next part --------------
From d9ffcd56683646ddb151cef15e6895471d2b3a84 Mon Sep 17 00:00:00 2001
From: Julien Reichardt <git at jrei.ch>
Date: Thu, 9 Jan 2020 16:16:23 +0100
Subject: [PATCH] Improve websocket doc in container exec
---
doc/rest-api.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/rest-api.md b/doc/rest-api.md
index 9189d3936e..b9ac07a126 100644
--- a/doc/rest-api.md
+++ b/doc/rest-api.md
@@ -914,8 +914,8 @@ Input (run bash):
```
`wait-for-websocket` indicates whether the operation should block and wait for
-a websocket connection to start (so that users can pass stdin and read
-stdout), or start immediately.
+a websocket connection to start for all the available file descriptors (except `control`, which is optional), or start immediately.
+This gives the possibility to pass stdin inputs and read stdout/stderr outputs as bytes.
If starting immediately, /dev/null will be used for stdin, stdout and
stderr. That's unless record-output is set to true, in which case,
More information about the lxc-devel
mailing list