Also pass common into launch_docker_windows function

This commit is contained in:
Micah Lee 2020-02-20 09:46:34 -08:00
parent 81627379f6
commit 65121ed729
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ def main(filename):
if not is_docker_ready(common):
print("Docker is not running")
launch_docker_windows()
launch_docker_windows(common)
# Wait up to 20 minutes for docker to be ready
for i in range(120):

View file

@ -38,7 +38,7 @@ def is_docker_ready(common):
return False
def launch_docker_windows():
def launch_docker_windows(common):
docker_desktop_path = "C:\\Program Files\\Docker\\Docker\\Docker Desktop.exe"
subprocess.Popen(
[docker_desktop_path], startupinfo=common.get_subprocess_startupinfo()