Remove container after export
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
parent
37758029fb
commit
fd13a2e0a6
@ -30,6 +30,8 @@ CONFIGJSON
|
|||||||
|
|
||||||
docker export $cid | tar -x -C $plugindir/rootfs
|
docker export $cid | tar -x -C $plugindir/rootfs
|
||||||
|
|
||||||
|
docker rm $cid
|
||||||
|
|
||||||
daemontmp=$(docker exec dockerdaemon mktemp -d)
|
daemontmp=$(docker exec dockerdaemon mktemp -d)
|
||||||
|
|
||||||
tar -c -C $plugindir . | docker exec -i dockerdaemon tar -x -C $daemontmp
|
tar -c -C $plugindir . | docker exec -i dockerdaemon tar -x -C $daemontmp
|
||||||
|
Loading…
Reference in New Issue
Block a user