Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
sdc
/
86fc38f0b3d0540dc44c3fbf58fcc1bc8397fe0c
/
.
/
sdc-os-chef
/
scripts
/
docker_clean.sh
blob: 6fe1ff615d34689b342cc9aa357a6ef1e7d96cf8 [
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
ml636r
0649e65
2017-02-20 21:10:54 +0200
[
diff
] [
blame
]
7