Fixed an issue with the image cleanup at the end of docker/run

- Legacy-Id: 14992
This commit is contained in:
Henrik Levkowetz 2018-04-02 09:25:14 +00:00
parent f47e5ccf81
commit 7bb8ce55a6

View file

@ -236,6 +236,6 @@ else
echo ""
echo "Cleaning up containers and images"
docker rm $latest
docker images -f dangling=true -q | xargs docker rmi -f
docker images -f dangling=true -q | xargs -r docker rmi -f
fi
fi