• amigan
    link
    fedilink
    English
    19
    edit-2
    1 year ago

    Except each container has its own libc and any other dependencies. If any linked binary or library has a different inode, it gets loaded separately. I would say it is indeed quite similar, even if the images in question here aren’t hundreds of megabytes in size like with Electron.

    • @MotoAsh
      link
      4
      edit-2
      1 year ago

      The funny thing is, as much as people shit on Java, that’s exactly what its Java EE container arch was for. Truly tiny microservices in wars, an entire app in an ear. All managed by a parent container that can dedup dependencies with a global class loader if done well, and automatically scale wars horizontally, too.

      No idea how to get that level of sharing with OS-level containers.