From b26e71adcc88b3bd109a82c90529333a27013e10 Mon Sep 17 00:00:00 2001 From: "David J. Meier" Date: Sat, 28 Mar 2020 12:54:43 -0500 Subject: [PATCH] Fix for docker_installer.py The `is_docker_ready` function passes an invalid argument to `exec_dangerzone_container`. The passed argument contains a dash instead of an underscore. This creates the logic situation wherein the UI states that Docker is not installed on Linux derivatives and also issues a `Failed to start docker service` command line error. --- dangerzone/docker_installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dangerzone/docker_installer.py b/dangerzone/docker_installer.py index db07a23..a7e7ebf 100644 --- a/dangerzone/docker_installer.py +++ b/dangerzone/docker_installer.py @@ -33,7 +33,7 @@ def is_docker_installed(global_common): def is_docker_ready(global_common): # Run `docker image ls` without an error - with global_common.exec_dangerzone_container(["image-ls"]) as p: + with global_common.exec_dangerzone_container(["image_ls"]) as p: p.communicate() # The user canceled, or permission denied