Update docker-maintenance
This commit is contained in:
parent
a5d7230ba5
commit
9a2c04be9b
@ -191,8 +191,9 @@ fi
|
||||
containerImages=$(docker images --quiet --filter "dangling=true")
|
||||
if [ -n "$containerImages" ]
|
||||
then
|
||||
echo "Removing old container images"
|
||||
write_log "$maintenanceLog" "remove old container images: $containerImages"
|
||||
docker rmi $containerImages
|
||||
docker rmi $containerImages >> /dev/null
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user