mirror of https://github.com/docker/docs.git
Merge pull request #5313 from Lance0312/arch-fd-link
Fix borken /dev/fd in mkimage-arch.sh
This commit is contained in:
commit
cb2ce9089c
|
@ -57,6 +57,7 @@ mknod -m 666 $DEV/tty0 c 4 0
|
||||||
mknod -m 666 $DEV/full c 1 7
|
mknod -m 666 $DEV/full c 1 7
|
||||||
mknod -m 600 $DEV/initctl p
|
mknod -m 600 $DEV/initctl p
|
||||||
mknod -m 666 $DEV/ptmx c 5 2
|
mknod -m 666 $DEV/ptmx c 5 2
|
||||||
|
ln -sf /proc/self/fd $DEV/fd
|
||||||
|
|
||||||
tar --numeric-owner -C $ROOTFS -c . | docker import - archlinux
|
tar --numeric-owner -C $ROOTFS -c . | docker import - archlinux
|
||||||
docker run -i -t archlinux echo Success.
|
docker run -i -t archlinux echo Success.
|
||||||
|
|
Loading…
Reference in New Issue