Skip to content
  • Home
  • About
  • Projects
Coding With Chuck

Coding With Chuck

Building Inspiring Software

Month: June 2018

Stop and Remove ALL Docker Containers and Images

June 18, 2018 by Chuck Conway

This is shamelessly stolen from The Humble Developer.

List All Containers

[shell]
docker ps -a
[/shell]

Stop All Running Containers

[shell]
docker stop $(docker ps -aq)
[/shell]

Remove All Containers

[shell]
docker rm $(docker ps -aq)
[/shell]

Remove All Images

[shell]
docker rmi $(docker images -q)
[/shell]

Categories General Leave a comment

About

Chuck has nearly 25 years of experience as a software craftsman. He specializes in software architecture, pragmatic coding, software process, and continuous integration.

Archives

  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • June 2018
  • October 2017
  • December 2015
  • November 2015
  • August 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • November 2014
  • October 2014
  • March 2014
  • February 2014
  • December 2013
  • March 2013
  • October 2012
  • August 2012
  • May 2012
  • January 2012
  • December 2011
  • June 2011
  • May 2011
  • December 2010
  • November 2010
  • October 2010
© 2021 Coding With Chuck • Built with GeneratePress