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 2287223 commit f0f60d6Copy full SHA for f0f60d6
starter/runner.py
@@ -322,7 +322,7 @@ def run_python(data):
322
)
323
if NO_NEW_PRIVILEGES:
324
# Prevent container from gaining additional privileges
325
- command.append('--security-opt="no-new-privileges=true"')
+ command.extend(["--security-opt", "no-new-privileges"])
326
# other options, these options are experimental, may cause failure to start script
327
if OTHER_OPTIONS and isinstance(OTHER_OPTIONS, list):
328
for option in OTHER_OPTIONS:
0 commit comments