Explorar o código

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

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee %!s(int64=8) %!d(string=hai) anos
pai
achega
fb828d1037
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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/integration/127.0.0.1:* ./clientv3/integration/localhost:*
 	rm -f ./clientv3/ordering/127.0.0.1:* ./clientv3/ordering/localhost:*
 	rm -f ./clientv3/ordering/127.0.0.1:* ./clientv3/ordering/localhost:*
 
 
+clean-docker:
+	docker images
+	docker image prune --force
+
 
 
 
 
 GO_VERSION ?= 1.10
 GO_VERSION ?= 1.10