fix: docker force stop flag
This commit is contained in:
parent
7d93129bbf
commit
968c5d2b69
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue