summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/scripts/docker_clean.sh
blob: 6fe1ff615d34689b342cc9aa357a6ef1e7d96cf8 (plain)
1
2
3
4
5
6
7
pat=$1
docker_ids=`docker ps -a | grep ${pat} | awk '{print $1}'`
for X in ${docker_ids}
do
   docker rm -f ${X}
done