git://git.halfball.org
/
cni.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43c11dd
)
scripts: cleanup() should rm net container in docker-run.sh
author
du
<du@njtech.edu.cn>
Fri, 21 Apr 2017 10:27:46 +0000
(18:27 +0800)
committer
du
<du@njtech.edu.cn>
Fri, 21 Apr 2017 10:27:46 +0000
(18:27 +0800)
scripts/docker-run.sh
patch
|
blob
|
history
diff --git
a/scripts/docker-run.sh
b/scripts/docker-run.sh
index
6271dd2
..
a8e1279
100755
(executable)
--- 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