4 ms·
you have to add support for your infrastructure to support building of everything for two architectures. sometimes problems are architecture dependent. if you h
by a-dub 4y ago
you have to add support for your infrastructure to support building of everything for two architectures. sometimes problems are architecture dependent. if you have to use x86 containers for some reason, they will be dog slow because you'll be running the kernel under emulation and in userland rosetta won't help.
- cpuguy83 4y agoRosetta absolutely does help. You register rosetta (which can be mounted into the VM using macOS's virtualization framework) with binfmt_misc and your x86 binaries inside the VM will run through Rosetta.
- saagarjha 4y agoRosetta doesn’t help here because the kernel would be ARM, and the parent commenter wants an x86-64 kernel.
- pmontra 4y agoNot dog slow but slower than they could. My experience is: a Rails test suite takes 75 seconds on my 2014 Intel ZBook laptop with a SATA bus and a SSD. It takes 50 seconds on a M1 MacBook. I'm sure I could have found some expensive Intel laptop as fast as that back in 2014. Docker on the M1 runs with something called Mutagen and we have two different docker-compose.yml, but one Dockerfile.