This commit is contained in:
heavybullets8 2022-12-14 11:43:04 -07:00
parent 94d8c61019
commit 9af1148705

View File

@ -19,8 +19,7 @@ export -f sync
prune(){ prune(){
echo -e "🄿 🅁 🅄 🄽 🄴" echo -e "🄿 🅁 🅄 🄽 🄴"
echo "Pruned Docker Images" echo "Pruned Docker Images"
if ! cli -c 'app container config prune prune_options={"remove_unused_images": true, "remove_stopped_containers": true}' | head -n -4: if ! cli -c 'app container config prune prune_options={"remove_unused_images": true, "remove_stopped_containers": true}' | head -n -4; then
then
echo "Failed to Prune Docker Images" echo "Failed to Prune Docker Images"
fi fi
} }