我想使用 LXD 引导根文件系统,以便从运行 ubuntu 16.04 的 AMD64 主机部署在嵌入式 ARM 系统上。以前,我使用脚本和chroot命令完成了此操作,但我使用的脚本容易出错,并且有删除 /dev 条目的坏习惯。
我已经能够使用 本地复制映像lxc image copy
images:ubuntu/16.04/arm64 --alias=ubuntu-server-arm64,并且已经安装了 qemu-user-static,但实际上无法从该映像启动容器。我收到以下错误:
$ lxc launch ubuntu-server-arm64 bootstrap
Creating bootstrap
error: Requested architecture isn't supported by this host
Run Code Online (Sandbox Code Playgroud)
有没有办法强制 lxd 忽略架构不匹配并用于
qemu-user-static运行子容器?