Saturday, July 29, 2023

Dock-her: Unleashing the Container Wizardry ๐Ÿณโœจ

Embark on a Docker adventure, where youโ€™ll learn to wield the power of containers like a coding sorcerer! ๐Ÿณโœจ Package your code, set it free, and watch it work its magic across any environment. ๐Ÿš€๐Ÿ”ฎ.

First what is Docker? Container, Volumes, and why Docker

What is Docker? What is a Docker Container and why should we use Docker Docker is a replacement for Virtual Machines,

ok now you ask, what are Virtual Machines?

Virtual Machines are usually a one piece of computer at a time, they consist of all the resouces making up a Machine

Traditionally before virtual machines, we used to have big computers that usually has just one operating system. all the resources, ranging from RAM, CPU, Storage was dedicated to one server only. and can use one OS only. so if you wanted another server, you know you definitely had to get another computer, five physical computers, five new servers, quite stressful and costly right?

So thatโ€™s where Virtual Machines comes in. - Instead of installing one operating system per machine, thatโ€™s where virtual machines can be installed on your computer to run different applications or services without interfering with each other

This process is called Hypervisor, it divides your operating system to multiple machines.

Think of a hypervisor as a virtualization mastermind orchestrating multiple virtual machines (VMs). Itโ€™s like an illusionist, conjuring the appearance of several operating systems running concurrently on a single physical computer. โœจโœจ The hypervisor efficiently allocates resources, manages interactions, and safeguards the isolation of each VM. Itโ€™s a key player in enabling efficient and flexible virtualization! ๐ŸŒŸ๐Ÿ’ป Simply Hypervisor Diagram goes in here

So what is a Docker Container?