scripts: cleanup() should rm net container in docker-run.sh
This commit is contained in:
parent
43c11dda15
commit
6ee2048ec2
@ -13,7 +13,7 @@ netnspath=/proc/$pid/ns/net
|
|||||||
|
|
||||||
function cleanup() {
|
function cleanup() {
|
||||||
./exec-plugins.sh del $contid $netnspath
|
./exec-plugins.sh del $contid $netnspath
|
||||||
docker kill $contid >/dev/null
|
docker rm -f $contid >/dev/null
|
||||||
}
|
}
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user