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: src/ai/backend/runner/entrypoint.sh
+14-5Lines changed: 14 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,16 @@ if [ -z "$LOCAL_USER_ID" ]; then
12
12
echo"WARNING: \$LOCAL_USER_ID is an empty value. This may be a misbehavior of plugins manipulating the evironment variables of new containers and cause unexpected errors."
13
13
fi
14
14
15
+
# NOTE: /home/work may have vfolder bind-mounts containing a LOT of files (e.g., more than 10K!).
16
+
# Therefore, we must AVOID any filesystem operation applied RECURSIVELY to /home/work,
17
+
# to prevent indefinite "hangs" during a container startup.
18
+
15
19
if [ $USER_ID-eq 0 ];then
16
20
17
21
echo"WARNING: Running the user codes as root is not recommended."
0 commit comments