To get docker working, you need to re-build the kernel, enable the missing required configs, and replace the default uImage from the boot partition.
I was able to get it working with docker-compose as well. I will attach my personal uImage file. It is for kernel v5.9.0-rc7 for aml s8xxx.
<link_removed>
Extract and rename the file to uImage, then copy it to the root of the boot partition on the sd card.
Make sure you backup your sd card before you apply this kernel, I am not responsible for your actions if anything goes wrong.
--EDIT--
My uImage uploaded does not work. I will write steps on how to make it work in a future post.
To the best of my understanding, I am not yet using any dtd because I am not yet attempting to boot Armbian. At the moment, I am trying to enable multiboot, and it is not working as I described above.
When I simply insert an SD card with Armbian_20.09_Aml-s812_bullseye_current_5.9.0-rc7_desktop.img burned onto it and with 1 random dtd.img copied to the root, the boot process blasts right through to Android.
This is why I am trying to enable multiboot by either pointing Upgrade app at aml_autoscript.zip or by selecting it from the Android recovery menu once it shows up, both times running into the verification error that I posted above.
Can anyone explain in simple terms, which Armbian image and which aml_autoscript.zip are appropriate for MX2 with g18ref? Piecing together this info from cryptic clues scattered over multiple forums is very hard for a noob like me. It is my understanding that it is not possible to tell me which dtd is appropriate, because they have to be found by way of trial and error. Correct me if I am wrong. Someone should have tried g18ref previously and figured out which dtd works, but I am not holding hope that this is documented anywhere.
PS: This forum is killing me with its 1 post a day limit. It is not achieving anything positive but delaying my responses and diminishing chances that anyone who knows answers still has patience to wait for me. Is this absolutely necessary?