Skip to content

Commit 96f9277

Browse files
authored
Add --args to ctf challenge deploy for extra docker run arguments
1 parent cdabe54 commit 96f9277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ctfcli/utils/deploy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def ssh(challenge, host, protocol):
5353
[
5454
"ssh",
5555
host.netloc,
56-
f"docker run -d -p{exposed_port}:{exposed_port} --name {image_name} --restart always {image_name}",
56+
f"docker run -d -p{exposed_port}:{exposed_port} --name {image_name} --restart always {image_name}{' '+args if args else ''}",
5757
]
5858
)
5959

0 commit comments

Comments
 (0)