kolla-ansible/tools/cleanup-containers
Martin André 6772962c72 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-15 09:27:27 +09:00

4 lines
45 B
Bash
Executable File

#!/bin/bash
docker rm $@ $(docker ps -a -q)