dsaiztc
4/11/2018 - 10:05 AM

Docker

Remove all stopped containers

docker rm $(docker ps -a -q)

Remove all untagged images

docker rmi $(docker images | grep "^<none>" | awk "{print $3}")