• jk47@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Is that still true? I use Linux but my coworker said docker runs natively now on the M1s but maybe he was making it up

    • Ryan@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I suspect they meant it runs natively in that it’s an aarch64 binary. It’s still running a VM under the hood because docker is really just a nice frontend to a bunch of Linux kernel features.

    • Shareni@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Docker requires the Linux kernel to work.

      M1 is just worse arm. Since most people use x86_64 instead of arm, docker had to emulate that architecture and therefore had performance issues. Now you’ve got arm specific images that don’t require that hardware emulation layer, and so work a lot better.

      Since that didn’t solve the Linux kernel requirement, it’s still running a VM to provide it.