Skip to content

GIBALMEIDA

Tips about Programming, Linux, Magento, Docker, etc.

Posted on 2 de March de 20175 de March de 2017 by gilberto

How to stop and remove all Docker containers easily

OK, I was playing with Docker and I ended up creating a lot of containers running on my machine and now I want to remove all at once, how do I do it? Simple, just run the two following command lines:

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)

Share this:

  • Print
  • Facebook
  • Google
  • Twitter
  • Pinterest
  • LinkedIn
  • Reddit
  • Pocket
  • Tumblr
CategoriesDocker

Post navigation

Previous PostPrevious Problema de email apagado e a Lixeira no Thunderbird
Next PostNext Como fazer o git esquecer de arquivos que agora devem ser ignorados

Recent Posts

  • How to upgrade a customized extension using patches
  • Como fazer o git esquecer de arquivos que agora devem ser ignorados
  • How to stop and remove all Docker containers easily
  • Problema de email apagado e a Lixeira no Thunderbird
  • Como ativar o XDMCP no Ubuntu 14.10

Recent Comments

  • Matheus Afonso on Resolvendo o problema de exibição no Grid do MySQL Workbench no Ubuntu 14.10
  • Maciel Castro on Como ativar o XDMCP no Ubuntu 14.10
  • Aroldo de Mattos Bossoni on PHP 5.3 + PHP5-FPM + NGINX no Ubuntu 14.04
  • gilberto on PHP 5.3 + PHP5-FPM + NGINX no Ubuntu 14.04
  • Carlos Roberto Poletto on Instalando o PHP 5.3 no Ubuntu 14.04

Archives

  • August 2017
  • July 2017
  • March 2017
  • April 2016
  • January 2015
  • November 2014
  • June 2014
  • May 2014

Categories

  • Aplicativos
  • Desenvolvimento de Software
  • Docker
  • Git
  • Magento
  • PHP
  • Thunderbird
  • Ubuntu

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress