4 ms·
so arm macbooks are still problematic for developers who use containers and x86 servers... it's still surprising to me that they did this as i always got the s
by a-dub 4y ago
so arm macbooks are still problematic for developers who use containers and x86 servers...
it's still surprising to me that they did this as i always got the sense that developer word of mouth helped drive a lot of macbook adoption in the 2000s.
- mrunkel 4y agoIn what way? I use ARM containers locally to dev and test locally, check in the code and the build server creates an x86 image for deployment to the server. Worst case you have to build the ARM container yourself locally and tag it with the "remote" name and docker will just use it instead of pulling the remote version.
- a-dub 4y agoyou 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.
- nerdponx 4y agoMy whole team got M1s, so we just use ARM images on AWS. Haven't had any problems.
- marcellus23 4y agoAside from the basis of your comment being not really true (as mrunkel commented), every thread about Apple Silicon Macs is full of people praising the performance and battery life. This is more positive word-of-mouth than Apple's had in years.