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
This commit is contained in:
Ryan Hallisey 2014-10-17 12:40:31 +00:00
parent cc2821c12d
commit d2194febb5
2 changed files with 6 additions and 0 deletions

3
tools/cleanup-containers Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
docker rm $(docker ps -a -q)

3
tools/cleanup-images Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
docker rmi $(docker images -a -q)