We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af8abe7 commit f9480e2Copy full SHA for f9480e2
scripts/code.sh
@@ -75,6 +75,12 @@ if [ "$IN_WSL" == "true" ] && [ -z "$DISPLAY" ]; then
75
code-wsl "$@"
76
elif [ -f /mnt/wslg/versions.txt ]; then
77
code --disable-gpu "$@"
78
+elif [ -f /.dockerenv ]; then
79
+ # Workaround for https://bugs.chromium.org/p/chromium/issues/detail?id=1263267
80
+ # Chromium does not release shared memory when streaming scripts
81
+ # which might exhaust the available resources in the container environment
82
+ # leading to failed script loading.
83
+ code --disable-dev-shm-usage "$@"
84
else
85
code "$@"
86
fi
0 commit comments