Elena Ceban:
Can someone help me here…
Command: sh -c "
while true: do docker container prune -f; sleep 720h; done &&
whille true: do docker image prune -af; sleep 86400; done " what is wrong with this code
Pedro Soares:
Well, if it’s bash syntax, then it should be ;
instead of :
after the while true
unnivkn:
Hi @Elena Ceban please try this:
while true; do docker container prune -f; sleep 720h; done &
while true; do docker image prune -af; sleep 86400; done