Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
sdc
/
efa037d34be7b1570efdc767c79fad8d4005f10e
/
.
/
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