11 lines
327 B
Bash
Executable File
11 lines
327 B
Bash
Executable File
#!/usr/bin/env bash
|
|
sudo apt-get install -y --reinstall qemu qemu-user-static binfmt-support
|
|
sudo update-binfmts --enable qemu-aarch64
|
|
|
|
sudo sed -i '10s/^$/yes/g' /var/lib/binfmts/qemu-arm /var/lib/binfmts/qemu-aarch64
|
|
|
|
sudo /etc/init.d/binfmt-support restart
|
|
|
|
# test
|
|
sudo docker run --rm -it arm64v8/busybox echo Hello World
|