From fd13a2e0a6e8a8f30a11c8b4249fb52826f4f93e Mon Sep 17 00:00:00 2001 From: Derek McGowan Date: Thu, 5 Jan 2017 13:41:25 -0800 Subject: [PATCH] Remove container after export Signed-off-by: Derek McGowan (github: dmcgowan) --- contrib/docker-integration/plugins.bats | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/docker-integration/plugins.bats b/contrib/docker-integration/plugins.bats index 3b1d9aa4..faeae0a7 100644 --- a/contrib/docker-integration/plugins.bats +++ b/contrib/docker-integration/plugins.bats @@ -30,6 +30,8 @@ CONFIGJSON docker export $cid | tar -x -C $plugindir/rootfs + docker rm $cid + daemontmp=$(docker exec dockerdaemon mktemp -d) tar -c -C $plugindir . | docker exec -i dockerdaemon tar -x -C $daemontmp