• TheHarpyEagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    4 months ago

    This may be a silly question, but what are VMs generally used for in a corporate setting? Is it the same use case as docker?

    • Anubis@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      1
      ·
      4 months ago

      In large scale computing, a server will have VERY powerful hardware. You can run multiple VMs on that one machine, giving a slice of that power to each VM so that it basically ends up with multiple individual computers running on one very powerful set of hardware instead of building a ton of individual.

      • ShunkW@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        arrow-down
        1
        ·
        4 months ago

        The other key feature being cost. A VDI terminal is much cheaper than actual PCs for employees. When I was working IT for a large company, we were able to get them in bulk for about $100 each. A PC cost us at least $800.

      • buttfarts@lemy.lol
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        I have three VMs running concurrently on a decade+ old Dell T7500.

        Even elderly enterprise stuff can do this.

    • xantoxis@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      1
      ·
      edit-2
      4 months ago

      Similar to docker, but the technical differences matter a lot. VMs have a lot of capabilities containers don’t have, while missing some of the value on being lightweight.

      However, a more direct (if longer) answer would be: all cloud providers ultimately offer you VMs. You can run docker on those VMs, but you have to start with a VM. Selfhosted stuff (my homelab, for example) will also generally end up as a mix of VMs and docker containers. So no matter what project you’re working on at scale, you’ve probably got some VMs around.

      Whether you then use containers inside them is a more nuanced and subtle question.

    • noahm@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      4 months ago

      VMs provide a meaningful security boundary between applications. Containers (docker, etc) do not.

    • monk@lemmy.unboiled.info
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      2
      ·
      4 months ago

      VMs are for actual isolation. Containers are for overcoming limitations of previous century package managers. They are not the same. =)

    • Piwix@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      Pretty much. Isolated environments to run a single service usually, although someone with more familiarity can comment further