mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Also remove volumes when removing containers
This commit is contained in:
parent
3a8f3ece53
commit
90ffb8d8f0
1 changed files with 1 additions and 1 deletions
|
@ -17,6 +17,6 @@ else
|
||||||
docker kill $(cat /tmp/cid_${TARGET})
|
docker kill $(cat /tmp/cid_${TARGET})
|
||||||
|
|
||||||
if [ "X${TESTS_KEEP_CONTAINER}" = "X" ]; then
|
if [ "X${TESTS_KEEP_CONTAINER}" = "X" ]; then
|
||||||
docker rm -f "${C_NAME}"
|
docker rm -vf "${C_NAME}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue