Jan Walraven
DevOps



Categories:
  • Arduino (2)
  • CSS (3)
  • Docker (10)
  • Git (3)
  • Javascript (6)
  • Linux (31)
  • Mac (6)
  • Magento (4)
  • Mysql (13)
  • PHP (9)
  • Zend framework 2 (9)
  • Posted on April 6, 2016

    Remove all stopped containers

    
    docker rm -v $(docker ps -a | grep "Exited" | awk "{print $1}")
    

    Remove all stopped containers v2

    
    docker rm $(docker ps -a -q)