forked from TrueCloudLab/frostfs-dev-env
[#219] Do not fail clean target if docker volume does not exist
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
462db79537
commit
eb5ba83a77
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -135,7 +135,7 @@ clean:
|
|||
vols=`docker-compose -f services/$${svc}/docker-compose.yml config --volumes`
|
||||
if [[ ! -z "$${vols}" ]]; then
|
||||
for vol in $${vols}; do
|
||||
docker volume rm "$${svc}_$${vol}" 2> /dev/null
|
||||
docker volume rm -f "$${svc}_$${vol}" 2> /dev/null
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue