Skip to content

Commit

Permalink
Remove container after export
Browse files Browse the repository at this point in the history
Signed-off-by: Derek McGowan <[email protected]> (github: dmcgowan)
  • Loading branch information
dmcgowan committed Jan 10, 2017
1 parent 3775802 commit fd13a2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/docker-integration/plugins.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd13a2e

Please sign in to comment.