Remove a container with force option
(&self, container_id: &str)
| 282 | |
| 283 | /// Remove a container with force option |
| 284 | async fn remove_container(&self, container_id: &str) -> Result<(), String> { |
| 285 | self.client |
| 286 | .remove_container( |
| 287 | container_id, |
| 288 | Some(RemoveContainerOptions { |
| 289 | force: true, |
| 290 | ..Default::default() |
| 291 | }), |
| 292 | ) |
| 293 | .await |
| 294 | .map_err(|e| e.to_string()) |
| 295 | } |
| 296 | |
| 297 | /// Build bind volumes for container |
| 298 | fn build_bind_volumes( |