fix: docker force stop flag

This commit is contained in:
Aravinth Manivannan 2023-10-04 00:38:11 +05:30
parent 7d93129bbf
commit 968c5d2b69
Signed by: realaravinth
GPG key ID: F8F50389936984FF

View file

@ -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)