Posts

Showing posts with the label Containers

Virtualization, Containerization and all that Jazz

Image
There's a lot of confusion out there about the terms virtualization, containerization, etc. and the related products such as Vagrant, Docker, VirtualBox, etc. When do I use what? I like to think of it this way. The physical machine could be a Mac or a Windows PC or laptop. VirtualBox is an Oracle product that provides the virtualization layer, thereby allowing you (for example) to run Linux on a Windows machine. You can configure the resources (disk, CPU, RAM) you want to allocate to each virtual machine (VM). Vagrant is for consistent environment management paradigms across all platforms/OSs. You can use it to install base software for you application, e.g. the Apache web server. Docker is for containerization and only runs on Linux because it uses Linux's container facility to do its thing. So, it used to be that if you're using Windows, you had to run VirtualBox or some virtualization software to stand up a Linux machine first before you could install D...