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 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame^] | 8 |