Fixed an issue with the image cleanup at the end of docker/run
- Legacy-Id: 14992
This commit is contained in:
parent
f47e5ccf81
commit
7bb8ce55a6
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue