Moving to Apple Silicon can introduce challenges if you’re using x64-based containers. Sometimes, emulation is the answer. When it’s not, we can combine some Docker features with some bash scripting to create an optimized container that works well for both platforms.