mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-24 18:23:26 -03:00
ci: Use podman stop over podman kill
This should avoid a race where the kill is not done when spinning up the
new container. podman stop waits 10 seconds by default.
Github-Pull: #27844
Rebased-From: faaa62754e
This commit is contained in:
parent
de56daab41
commit
6f7a0ae58b
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ if [ -z "$DANGER_RUN_CI_ON_HOST" ]; then
|
||||||
|
|
||||||
if [ -n "${RESTART_CI_DOCKER_BEFORE_RUN}" ] ; then
|
if [ -n "${RESTART_CI_DOCKER_BEFORE_RUN}" ] ; then
|
||||||
echo "Restart docker before run to stop and clear all containers started with --rm"
|
echo "Restart docker before run to stop and clear all containers started with --rm"
|
||||||
podman container kill --all # Similar to "systemctl restart docker"
|
podman container stop --all # Similar to "systemctl restart docker"
|
||||||
echo "Prune all dangling images"
|
echo "Prune all dangling images"
|
||||||
docker image prune --force
|
docker image prune --force
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue