Merge "Clean docker containers and images"
This commit is contained in:
commit
baf24424a4
@ -5,8 +5,8 @@ include $(SOURCE_DIR)/mirror/docker/base-images.mk
|
||||
clean: clean-docker
|
||||
|
||||
clean-docker:
|
||||
-sudo sh -c "docker ps -a | awk '/fuel/ { print \$$1; }' | xargs --no-run-if-empty docker rm -f"
|
||||
-sudo sh -c "docker images | awk '/fuel/ { print \$$3; }' | xargs --no-run-if-empty docker rmi -f"
|
||||
-sudo sh -c "docker ps -aq | xargs --no-run-if-empty docker rm -f"
|
||||
-sudo sh -c "docker images | awk '/fuel|none/ { print \$$3; }' | xargs --no-run-if-empty docker rmi -f"
|
||||
|
||||
$(BUILD_DIR)/mirror/docker/build.done: \
|
||||
$(BUILD_DIR)/mirror/docker/base-images.done
|
||||
|
Loading…
Reference in New Issue
Block a user