You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/setup.md
+17-10Lines changed: 17 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,8 +60,6 @@ The below is the minimal subset of changes that `--privileged=true` does that is
60
60
***Why**: The default SELinux label for containers (`container_t`) does not allow the creation of namespaces, which gVisor requires for additional isolation . The `container_engine_t` label allows this.
61
61
* If you don't have SELinux enabled, this setting does nothing and may be omitted.
62
62
63
-
NOTE: Per bug reports (see issue #2 and #3), you may also need to set `--cgroupns=host` (see issue #2 for more details). **This is temporary and should stop being required soon.**
{"status": "OK", "output": "Hello from the sandbox!\nCurrent date and time: 2024-09-04 05:06:26.021759\n[ 0.000000] Starting gVisor... [...]"}
84
+
⏳ Running self-test: simple_python
85
+
✔ Self-test simple_python passed.
86
+
⏳ Running self-test: simple_bash
87
+
✔ Self-test simple_bash passed.
88
+
⏳ Running self-test: bad_syntax_python
89
+
✔ Self-test bad_syntax_python passed.
90
+
⏳ Running self-test: bad_syntax_bash
91
+
✔ Self-test bad_syntax_bash passed.
92
+
⏳ Running self-test: long_running_code
93
+
✔ Self-test long_running_code passed.
94
+
⏳ Running self-test: ram_hog
95
+
✔ Self-test ram_hog passed.
96
+
✅ All self-tests passed, good go to!
93
97
```
94
98
95
99
If you get an error, try to add the `--debug` flag at the very end of this command (i.e. as a `run_code.py` flag) for extra information, then file a bug.
@@ -107,6 +111,9 @@ The code execution tool and function have the following valves available:
107
111
***Auto Install**: Whether to automatically download and install gVisor if not present in the container.
108
112
* If not installed, gVisor will be automatically installed in `/tmp`.
109
113
* Useful for convenience, but should be disabled for production setups.
114
+
***Debug**: Whether to produce debug logs.
115
+
* This should never be enabled in production setups as it produces a lot of information that isn't necessary for regular use.
116
+
***When filing a bug report**, please enable this valve, then reproduce the issue in a new chat session, then download the chat log (triple-dot menu → `Download` → `Export chat (.json)`) and attach it to the bug report.
0 commit comments