These patches allowed me to run arm64 and armv7 version of dind image on amd64.
This patchset includes a few patches marked [!MERGE], which are not for the upsteam merge. They are included here just to show the context to reviewers. You can find my test setup here: https://github.com/yamt/garbage/tree/master/binfmt-aarch64-install YAMAMOTO Takashi (11): linux-user: handle /proc/self/exe for execve linux-user: Fix the execfd case of /proc/self/exe open linux-user: dup the execfd on start up linux-user: make exec_path realpath linux-user: Implement pivot_root linux-user: add get_exe_path linux-user: simplify is_proc_myself linux-user: Implement exec of /proc/$pid/exe of qemu process linux-user: Make the qemu detection for /proc/$pid/exe a bit conservative linux-user: a crude hack for libcontainer (CLONE_PARENT) [!MERGE] linux-user: always assume preserve_argv0 for now [!MERGE] linux-user/main.c | 57 ++++++++++++++- linux-user/qemu.h | 2 + linux-user/syscall.c | 171 ++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 219 insertions(+), 11 deletions(-) -- 2.21.1 (Apple Git-122.3)