I have installed the rsdk in vscode devcontainer as per the docs. The installation is done on a Ubuntu 22.04 host OS and docker CE version 26.1.1 installed per vendor instructions.
The Ubuntu host user was added to docker root group user.
sudo usermod -aG docker <username>
Rebooted host computer and loaded vscode.
rsdk launches in the devcontainer and gives shell prompt.
I try to build an image but get an error as the docker container does not have binfmt_misc found in /proc/mounts
vscode ➜ /workspaces/rsdk (main) $ rsdk build rock-5b-6_1
2024-05-08 05:16:03,468 bdebstrap WARNING: Ignoring unknown top level keys: metadata
W: binfmt_misc not found in /proc/mounts -- not mounted?
E: arm64 can neither be executed natively nor via qemu user emulation with binfmt_misc
2024-05-08 05:16:03,628 bdebstrap ERROR: mmdebstrap failed with exit code 255. See above for details.
vscode ➜ /workspaces/rsdk (main) $
The Ubuntu host OS has binfmt_misc present.
$ grep binfmt /proc/mounts
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16354 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
But inside docker container its not mounted.
vscode ➜ /workspaces/rsdk (main) $ grep binfmt /proc/mounts
vscode ➜ /workspaces/rsdk (main) $
I have installed the rsdk in vscode devcontainer as per the docs. The installation is done on a Ubuntu 22.04 host OS and docker CE version 26.1.1 installed per vendor instructions.
The Ubuntu host user was added to docker root group user.
Rebooted host computer and loaded vscode.
rsdk launches in the devcontainer and gives shell prompt.
I try to build an image but get an error as the docker container does not have binfmt_misc found in /proc/mounts
The Ubuntu host OS has binfmt_misc present.
But inside docker container its not mounted.