Skip to content

Commit eaf7056

Browse files
committed
Use -f to forcibly mop up leftover docker containers
1 parent 37bc3d1 commit eaf7056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-clean-containers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#! /bin/bash
2-
docker rm $(docker ps -a | cut -d ' ' -f1 | tail -n +2)
2+
docker rm -f $(docker ps -a | cut -d ' ' -f1 | tail -n +2)

0 commit comments

Comments
 (0)