Open MiddelkoopT opened 3 years ago
@MiddelkoopT Thanks for raising this. It does not seem to affect all Arm systems. I tested on my Mac with Apple Silicon M1 and it worked fine. I think this needs further investigation to see if the system you tested on is the exception or if Macs are the exception (due to Rosetta).
However, I think this is low priority as most researchers approaching the lesson will either be on x86 or on Mac M1.
Probably the correct solution for the moment is to clarify the requirements for the lesson to note that Arm systems (other than Mac) are not supported at the moment.
(I think the underlying issue here is a general lack of support for images built for Arm in places such as DockerHub rather than an issue with Docker itself. This would be a useful callout to note in the introduction where portability of containers is discussed as this shows a limitation in practice to the theory of portability.)
Perhaps just referring to images with known multi-arch would help? The entire lesson has worked with the exception of the rocker image. In addition, the rocker was a HUGE download for a simple "docker pull" example that is not used later.
BTW which architecture is docker running on on the Mac M1? Perhaps it's a x86 VM running docker, and not natively on the M1 hardware since docker requires a Linux kernel and leverages the virtualization aspects of MacOS.
Arm systems, such as the Raspberry Pi, are not supported. I was unable to run the rocker image in my Ubuntu aarch64 Raspberry Pi 4 2G. This is for Episode 04-docker-hub
If updating the the examples would be useful I would be willing to do this and do a PR.