1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

mkimage-arch: remove the test container after run

Signed-off-by: Rui Lopes <rgl@ruilopes.com>
This commit is contained in:
Rui Lopes 2015-11-22 11:46:13 +00:00
parent 692bfdaee3
commit ca94adc7c1

View file

@ -89,5 +89,5 @@ mknod -m 666 $DEV/ptmx c 5 2
ln -sf /proc/self/fd $DEV/fd
tar --numeric-owner --xattrs --acls -C $ROOTFS -c . | docker import - archlinux
docker run -t archlinux echo Success.
docker run --rm -t archlinux echo Success.
rm -rf $ROOTFS