this post was submitted on 23 May 2024
462 points (100.0% liked)

Technology

70498 readers
3223 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 1 year ago (6 children)

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?

[–] [email protected] 13 points 1 year ago (2 children)

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.

[–] [email protected] 10 points 1 year 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.

[–] [email protected] 1 points 1 year ago

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

Even elderly enterprise stuff can do this.

[–] [email protected] 12 points 1 year ago* (last edited 1 year 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.

[–] [email protected] 7 points 1 year ago

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

[–] [email protected] 6 points 1 year ago

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

[–] [email protected] 3 points 1 year ago

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