Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
sdc
/
451a3400b76511393c62a444f588a4ed15f4a549
/
.
/
sdc-os-chef
/
scripts
/
docker_clean.sh
blob: 0b2227d45a73231c15ec5c0526cab5e6aca00312 [
file
] [
log
] [
blame
]
Michael Lando
451a340
2017-02-19 10:28:42 +0200
[
diff
] [
blame^
]
1
pat
=
$1
2
docker_ids
=
`docker ps -a | grep ${pat} | awk '{print $1}'`
3
for
X
in
$
{
docker_ids
}
4
do
5
docker rm
-
f $
{
X
}
6
done