Debian arm64 with QEMU user-mode emulation
1.2K
qemu-debootstrap --verbose --arch=arm64 --variant=buildd --include=gdb,vim-tiny,less jessie rootfs-debian-arm64 http://ftp.jp.debian.org/debian/
$ sudo docker run --rm -i -t inaz2/debian-arm64 /bin/bash
root@66d4ddad873d:/# uname -a
Linux 66d4ddad873d 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 aarch64 GNU/Linux
root@66d4ddad873d:/# gcc --version
gcc (Debian/Linaro 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@66d4ddad873d:/# objdump -d /bin/bash | head
/bin/bash: file format elf64-littleaarch64
Disassembly of section .init:
000000000041d8d8 <_init>:
41d8d8: a9bf7bfd stp x29, x30, [sp,#-16]!
41d8dc: 910003fd mov x29, sp
41d8e0: 94000c8c bl 420b10 <_start+0x48>
root@66d4ddad873d:/# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 2.0 0.5 110956 12272 ? Ss 10:39 0:00 /usr/bin/qemu-aarch64-static /bin/bash
root 11 0.0 0.5 110400 10640 ? R+ 10:39 0:00 /usr/bin/qemu-aarch64-static /bin/ps aux
root@66d4ddad873d:/# exit
Content type
Image
Digest
sha256:08589a1fd…
Size
118.2 MB
Last updated
almost 11 years ago
docker pull inaz2/debian-arm64