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
This commit is contained in:
parent
9723a796d3
commit
6772962c72
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker rm -f $(docker ps -a -q)
|
||||
docker rm $@ $(docker ps -a -q)
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker rmi -f $(docker images -a -q)
|
||||
docker rmi $@ $(docker images -a -q)
|
||||
|
Loading…
Reference in New Issue
Block a user