Skip to content

Commit 2287223

Browse files
committed
Fix option
1 parent fd1dc84 commit 2287223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

starter/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def run_python(data):
322322
)
323323
if NO_NEW_PRIVILEGES:
324324
# Prevent container from gaining additional privileges
325-
command.append("--security-opt no-new-privileges")
325+
command.append('--security-opt="no-new-privileges=true"')
326326
# other options, these options are experimental, may cause failure to start script
327327
if OTHER_OPTIONS and isinstance(OTHER_OPTIONS, list):
328328
for option in OTHER_OPTIONS:

0 commit comments

Comments
 (0)