x86 – A docker container on Debian running code compiled for an ARM processor

I am very new to Docker.

I have developed applications in C code which are cross-compiled and run on an embedded Linux device which uses an ARM chip. My toolchain and build process is well defined.

A new task of mine is to get these applications into Docker containers to run independently inside a bigger Linux device which uses an X86 processor.

Now, i’m confused. Can I just compile my code in the same way as before using the ARM toolchain and instruct Docker that the executables are for ARM and not X86? I have heard about Multi-Arch images, but not too sure. Thanks

Read more here: Source link