Docker was initially launched in 2011 and was quickly adopted by a large number of developers. You can think of Docker as a virtualization software platform that runs containers. A container is a light version of a VM. Before Docker, when working with different projects (such as a microservice), we had two options: put all the different applications on the same server, or create a VM for each one.

The first approach means that when an application fails and breaks something in the OS configuration, all the other applications also fail, which is terrible when trying to develop a very important application.

The second approach means that we would need too many resources to run different VMs, which poses other issues (like the high cost of resources).

Get hands-on with 1200+ tech skills courses.