diff options
| author | Ryan Hallisey <rhallise@redhat.com> | 2014-10-17 12:40:31 +0000 |
|---|---|---|
| committer | Ryan Hallisey <rhallise@redhat.com> | 2014-10-17 17:58:42 +0000 |
| commit | d2194febb5829d66b91ac4151f96fac0bc6555c5 (patch) | |
| tree | ed4172cfe044acb6e594a685b2e14339c8450f68 /tools | |
| parent | cc2821c12d878517e31de444863c43abba5c421d (diff) | |
| download | kolla-ansible-d2194febb5829d66b91ac4151f96fac0bc6555c5.tar.gz kolla-ansible-d2194febb5829d66b91ac4151f96fac0bc6555c5.zip | |
Docker image and process cleaup tool
When running Docker, you can unknowingly use up a lot
of memory. This tool will make it easier to clean up
Docker.
Change-Id: Icfd780f12b01956093a2933dd484cde1e2d6d5bc
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/cleanup-containers | 3 | ||||
| -rwxr-xr-x | tools/cleanup-images | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tools/cleanup-containers b/tools/cleanup-containers new file mode 100755 index 000000000..7dace3936 --- /dev/null +++ b/tools/cleanup-containers @@ -0,0 +1,3 @@ +#!/bin/bash + +docker rm $(docker ps -a -q) diff --git a/tools/cleanup-images b/tools/cleanup-images new file mode 100755 index 000000000..4a0443e7d --- /dev/null +++ b/tools/cleanup-images @@ -0,0 +1,3 @@ +#!/bin/bash + +docker rmi $(docker images -a -q) |
