File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ def container_cli(self):
7979 else :
8080 cli = "docker"
8181
82- docker_version = subprocess .run ([cli , "version" ])
82+ docker_version = subprocess .run ([cli , "version" ], stdout = subprocess . DEVNULL )
8383 if docker_version .returncode :
8484 raise RuntimeError (f"The { cli } commandline client must be installed" )
8585
@@ -88,7 +88,9 @@ def container_cli(self):
8888 #
8989 # podman buildx command is an alias of podman build.
9090 # Not all buildx build features are available in Podman.
91- docker_buildx_version = subprocess .run ([cli , "buildx" , "version" ])
91+ docker_buildx_version = subprocess .run (
92+ [cli , "buildx" , "version" ], stdout = subprocess .DEVNULL
93+ )
9294 if docker_buildx_version .returncode :
9395 raise RuntimeError ("The docker buildx plugin must be installed" )
9496
You can’t perform that action at this time.
0 commit comments