DEV Community

Discussion on: How containers changed the world

Collapse
 
sweetog profile image
Brian Ogden

"The crucial difference is that containers divide a single operating system into multiple distinct environments all using that same OS"

This is a confusing statement. Let's say I am running a Docker host on a Macbook Pro. I spin up a container and the first line of my Dockerfile is:

FROM centos:7

So my container is using a different OS than my host OS, yes?

Collapse
 
r1sknt profile image
Rayan

those distinct environments are using the same OS as base to make them up and running, centos is what those environment offer and provide.