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:
parent
692bfdaee3
commit
ca94adc7c1
1 changed files with 1 additions and 1 deletions
|
@ -89,5 +89,5 @@ mknod -m 666 $DEV/ptmx c 5 2
|
||||||
ln -sf /proc/self/fd $DEV/fd
|
ln -sf /proc/self/fd $DEV/fd
|
||||||
|
|
||||||
tar --numeric-owner --xattrs --acls -C $ROOTFS -c . | docker import - archlinux
|
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
|
rm -rf $ROOTFS
|
||||||
|
|
Loading…
Reference in a new issue