【Programs】Docker Workshop | Fall-2024
<aside> 💡 Imagine this… Imagine you've just finished a project or application and can't wait to let your friends test it out. You send it over, excited to hear what they think, but then you get a message: "Eh, can't run this on my computer." You realize the problem: they're on macOS while you're on Windows, you're using PostgreSQL while they have MySQL, and their system is missing half the dependencies your application needs. Suddenly, what should have been a quick test turns into a long, frustrating process of setting up and configuring their environment to match yours.
This is where Docker comes into play. Docker allows you to package your entire application including its environment, dependencies, and configurations into a single, lightweight container. This container can run consistently on any system that has Docker installed, whether it's Windows, macOS, or Linux. No more worrying about different operating systems, missing dependencies, or version conflicts :)
</aside>
First of all, what is a VM?
VM (Virtual Machine) is a “virtual” version of your computer that borrows resources (CPU, memory, storage, etc.) from your physical host computer to run a separate computing environment. Since the VM is isolated it can't interfere with the host computer.
What Is a Virtual Machine and How Does It Work | Microsoft Azure