I need your help with a command I was using on Windows but on Ubuntu it won’t work for me.
docker images | grep none | awk ' { print $3; } ' | xargs docker rmi -f & cls & docker images
With this command I get:
-bash: syntax error near unexpected token `}' as error. cls is an alias I'm using and it's working`
Advertisement
Answer
Okay so I got it working with:
docker images | grep none | awk " { print $3; } " | xargs docker rmi -f ; clear ; docker images
Thanks for your efforts tho, it helped me with other problems 🙂