From 149740623a66d0e3ac7c51778dcc1d5bf8c1e0e7 Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Sun, 23 Apr 2023 08:30:04 +0800 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 746738d..d66906d 100644 --- a/README.md +++ b/README.md @@ -287,8 +287,11 @@ cat ct102 #### 删除示例 +以下命令将删除所有ct容器和所有的log文件 + ``` -pct list | awk '{print $1}' | xargs -I {} pct destroy {} +pct list | awk 'NR>1{print $1}' | xargs -I {} sh -c 'pct stop {}; pct destroy {}' +rm -rf ct* ``` ## 致谢