Skip to content

Commit

Permalink
Start Docker-outside-of-Docker in background for performance
Browse files Browse the repository at this point in the history
  • Loading branch information
dmalan committed Oct 8, 2024
1 parent 690e439 commit a31b3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli50/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a31b3ed

Please sign in to comment.