This website requires JavaScript.
Explore
Get Started
openstack
/
kolla
Code
Issues
Proposed changes
6e3127d043
Branches
Tags
No results found.
kolla
/
tools
/
cleanup-containers
4 lines
45 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
Removes Host Cleanup from Container Cleanup Script Split the content of cleanup-containers into containers cleanup and host cleanup. This allows to run the cleanup-containers from OSX clients, while keeping needed code to delete host artifacts left behind by the neutron agents container. In addition, cleanup-containers may disappear in the future, replaced by a docker-compose wrapper. Co-Authored-By: Martin André <martin.andre@kvhasia.com> Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net> Change-Id: I3aa731e7e0f9eb3dad9c363bb5d4a575d84a2fae Closes-Bug: #1477383
2015-06-02 06:08:13 +00:00
docker rm $@ $(docker ps -a -q)
Copy Permalink