Category: Data, Kubernetes, Docker, Architecture, nginx, container

The simplest way I can explain the differences between Virtual Machines and Containers is that a VM virtualizes the hardware and a Container “virtualizes” the OS. If you take a look at the image above, you can see that there are multiple Operating Systems running when using Virtual Machine technology.

You can run multiple instances of your image and you can create, start and stop them as well as connect them to other containers using networks.

Containers are immutable and you should not write data into your container that you would like to be persisted after that container stops running.

Volumes are managed by Docker and can be moved, copied and managed outside of containers.

Related Articles