diff --git a/src/docker.rs b/src/docker.rs index aab0046..e546623 100644 --- a/src/docker.rs +++ b/src/docker.rs @@ -98,9 +98,9 @@ impl DockerLike for Docker { fn rm_container(&self, name: &str, force: bool) { let args = if force { - vec!["rm", name] - } else { vec!["rm", "--force", name] + } else { + vec!["rm", name] }; Command::new("docker") .args(args)