Error (530) running "Build and Run Your First Python Application"

Hello. I am working through the Torizon Quickstart. I am on the last chapter of Module 2, “Build and Run Your First Python Application”, Step 9.
After pressing F5, here’s the output I have:

Backend local instance running on port 5000
No active configuration found, selecting first valid one.
Active configuration has been selected (817aab27-0771-474b-b9e5-18b18a02e08d), updating it.
Initializing Torizon Python application.
Preparing debug environment for Python application...
No preLaunchTask configured.
Selecting device...
Device 06543194 selected.
Updating app configuration...
Image is not up to date, building it (this may take some time)...
Error (530) - Docker exception: The command '/bin/sh -c apt-get update     && apt-get install -y --no-install-recommends     python3     python3-pip     python3-setuptools         && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 1
Step 1/15 : FROM torizon/arm64v8-debian-base:buster

# Executing 1 build trigger

---> Running in 654f54f0d26c
---> 8b701e7e3388
Step 2/15 : EXPOSE 6502

---> Running in 93d0b99bcf3c
---> 79ecb707765b
Step 3/15 : ARG SSHUSERNAME=torizon

---> Running in b9fd2e2fa190
---> 902b335f0831
Step 4/15 : ENV DEBIAN_FRONTEND="noninteractive"

---> Running in 579422f41e3e
---> 48f1d90e0d51
Step 5/15 : RUN apt-get update     && apt-get install -y --no-install-recommends     python3     python3-pip     python3-setuptools         && rm -rf /var/lib/apt/lists/*

---> Running in 9856955368d7
e[91mstandard_init_linux.go:211: exec user process caused "no such file or directory"
e[0m
Local docker exception.

I followed all of Docker’s instructions when installing it, including adding myself to the ‘docker’ group and rebooting.
VS Code sees my SOM and the containers running on it.
The only issue I can think of…
The SOM has Docker version:

apalis-imx8-06543194:~$ docker --version
Docker version 19.03.12-ce, build 48a66213fe

And my Ubuntu has Docker version:

$ docker --version
Docker version 19.03.13, build 4484c46d9d

Greetings @cb_cross,

I’m unable to recreate this error on my side. Judging by the error message you pasted though, one possible issue is that arm emulation isn’t properly enabled. Have you ran this command on your development machine, as stated on the previous page of the quickstart: Install the Build Environment for Torizon

Alternatively you could also execute the following command in Visual Studio Code via the command prompt: “Torizon: Enable ARM emulation for Docker containers”. Though this should do the same thing as the command above.

To confirm that the arm emulation was successfully enabled on your development machine try running this command on your development PC: docker run --rm -it arm64v8/debian arch. If successful this should return aarch64.

Best Regards,
Jeremias

All I can do is chuckle and shake my head.
I did run docker run --rm -it --privileged torizon/binfmt previously. But running it again seems to have solved the issue. I have completed the exercise.
Thank you.

Glad you were able to resolve this!