From a31b3ed4015ad547d2f86501c7cb39eee8893259 Mon Sep 17 00:00:00 2001 From: "David J. Malan" Date: Mon, 7 Oct 2024 23:14:55 -0400 Subject: [PATCH] Start Docker-outside-of-Docker in background for performance --- cli50/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli50/__main__.py b/cli50/__main__.py index 909b427..ee300c5 100644 --- a/cli50/__main__.py +++ b/cli50/__main__.py @@ -264,7 +264,7 @@ def main(): # Start Docker-outside-of-Docker (if supported by TAG) # a la https://github.com/devcontainers/features/blob/main/src/docker-outside-of-docker/install.sh try: - subprocess.check_output(["docker", "exec", container, "sudo", "/etc/init.d/docker", "start"]) + subprocess.check_output(["docker", "exec", "--detach", container, "sudo", "/etc/init.d/docker", "start"]) except subprocess.CalledProcessError: pass