Skip to content

Commit f0f60d6

Browse files
committed
Fix options
1 parent 2287223 commit f0f60d6

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=true"')
325+
command.extend(["--security-opt", "no-new-privileges"])
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)