瀏覽代碼

hack/scripts-dev: add "clean-docker" to Makefile

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 8 年之前
父節點
當前提交
fb828d1037
共有 1 個文件被更改,包括 4 次插入 和 0 次删除
  1. 4 0
      hack/scripts-dev/Makefile

+ 4 - 0
hack/scripts-dev/Makefile

@@ -25,6 +25,10 @@ clean:
 	rm -f ./clientv3/integration/127.0.0.1:* ./clientv3/integration/localhost:*
 	rm -f ./clientv3/ordering/127.0.0.1:* ./clientv3/ordering/localhost:*
 
+clean-docker:
+	docker images
+	docker image prune --force
+
 
 
 GO_VERSION ?= 1.10