Skip to content

Commit a31b3ed

Browse files
committed
Start Docker-outside-of-Docker in background for performance
1 parent 690e439 commit a31b3ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli50/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def main():
264264
# Start Docker-outside-of-Docker (if supported by TAG)
265265
# a la https://github.com/devcontainers/features/blob/main/src/docker-outside-of-docker/install.sh
266266
try:
267-
subprocess.check_output(["docker", "exec", container, "sudo", "/etc/init.d/docker", "start"])
267+
subprocess.check_output(["docker", "exec", "--detach", container, "sudo", "/etc/init.d/docker", "start"])
268268
except subprocess.CalledProcessError:
269269
pass
270270

0 commit comments

Comments
 (0)