()
| 166 | } |
| 167 | |
| 168 | fn is_docker_installed() -> bool { |
| 169 | Command::new("docker") |
| 170 | .arg("--version") |
| 171 | .output() |
| 172 | .map(|output| output.status.success()) |
| 173 | .unwrap_or(false) |
| 174 | } |
| 175 | |
| 176 | fn is_x86_architecture() -> bool { |
| 177 | ARCH == "x86_64" || ARCH == "x86" |