This website requires JavaScript.
Explore
Get Started
openstack
/
kolla-ansible
Code
Issues
Proposed changes
69338a94ba
Branches
Tags
View all branches
kolla-ansible
/
tools
/
cleanup-images
4 lines
50 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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
2014-10-17 12:40:31 +00:00
#!/bin/bash
Pass cleanup scripts arguments to docker This allows to maintain the default behavior unchanged while making it possible to force clean. Follow-up to https://review.openstack.org/#/c/145921/ Change-Id: Ie5733b22bda9cdd7d08f5c5ecc5a3d94b984a125
2015-01-14 11:42:48 +09:00
docker rmi $@ $(docker images -a -q)
Copy Permalink