From c8c44868ec5bc10e4362c480f8b467d0e6b6b99a Mon Sep 17 00:00:00 2001 From: seerjk Date: Thu, 21 Dec 2017 14:51:14 +0800 Subject: [PATCH] Add tips: Delete all containers command Delete all containers (force!! running or stopped containers) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 80b3789..a6a731f 100644 --- a/README.md +++ b/README.md @@ -655,6 +655,12 @@ docker run --rm ubuntu env docker kill $(docker ps -q) ``` +### Delete all containers (force!! running or stopped containers) + +``` +docker rm -f $(docker ps -qa) +``` + ### Delete old containers ```