mirror of
https://github.com/flatcar/scripts.git
synced 2026-01-08 18:12:17 +01:00
build_sdk_container_image: force removal of running container
At least with Podman it's not possible to call "container rm" on a running container without the force flag. Add the force flag which is also used elsewhere already.
This commit is contained in:
parent
e537a89c5a
commit
b3bd8eba56
@ -178,7 +178,7 @@ else
|
||||
rm "${tarball_copied}"
|
||||
fi
|
||||
|
||||
$docker container rm "${toolchains_container}"
|
||||
$docker container rm -f "${toolchains_container}"
|
||||
|
||||
docker_interface="docker0"
|
||||
if "${is_podman}"; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user