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 c27282b commit 78c7f9fCopy full SHA for 78c7f9f
ctfcli/utils/deploy.py
@@ -31,7 +31,7 @@ def ssh(challenge, host):
31
[
32
"ssh",
33
host.netloc,
34
- f"docker run -d -p{exposed_port}:{exposed_port} {image_name}",
+ f"docker run -d -p{exposed_port}:{exposed_port} --name {image_name} --restart always {image_name}",
35
]
36
)
37
0 commit comments