Skip to content

Commit f3f55af

Browse files
committed
docker: hide the docker info output
1 parent f739aa5 commit f3f55af

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/docker.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ pub fn build_container(docker_env: &str) -> Fallible<()> {
2020
}
2121

2222
pub(crate) fn is_running() -> bool {
23-
RunCommand::new("docker").args(&["info"]).run().is_ok()
23+
info!("checking if the docker daemon is running");
24+
RunCommand::new("docker")
25+
.args(&["info"])
26+
.hide_output(true)
27+
.run()
28+
.is_ok()
2429
}
2530

2631
#[derive(Copy, Clone)]

0 commit comments

Comments
 (0)