/ docker

Docker Master Reset

Use With Caution! The following command does the following (in order):

  1. Stop all containers
  2. Delete all containers
  3. Delete all images
  4. Delete all networks
docker stop $(docker ps -aq);rm $(docker ps -aq);docker rmi $(docker images -q);docker network rm $(docker network ls -q)