Compute Virtualization (Containers and Virtual machines)


(Rene Molenaar) #1

This topic is to discuss the following lesson:


(Fabrice M) #2

Hi Rene
If i undertand well I can replace the usage of VM by containers
If i have centos 7 installed can I have a container of Centos 7 with differents IP ?


(Rene Molenaar) #3

Hello Fabrice,

It depends on the application but often it is possible to replace a VM with one or more containers. Be aware that you don’t treat containers as “mini VMs”. It’s possible to build a container with multiple applications but the idea behind containers is that each container only runs a single process.

There is a official CentOS container btw:

https://hub.docker.com/_/centos?tab=description

With a docker container it’s possible to add a static IP to each container.

Rene