From: du Date: Fri, 21 Apr 2017 10:27:46 +0000 (+0800) Subject: scripts: cleanup() should rm net container in docker-run.sh X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=6ee2048ec2519341356c1c92437f36b3ee6bf41d;p=cni.git scripts: cleanup() should rm net container in docker-run.sh --- diff --git a/scripts/docker-run.sh b/scripts/docker-run.sh index 6271dd2..a8e1279 100755 --- a/scripts/docker-run.sh +++ b/scripts/docker-run.sh @@ -13,7 +13,7 @@ netnspath=/proc/$pid/ns/net function cleanup() { ./exec-plugins.sh del $contid $netnspath - docker kill $contid >/dev/null + docker rm -f $contid >/dev/null } trap cleanup EXIT