"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?
those distinct environments are using the same OS as base to make them up and running, centos is what those environment offer and provide.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
"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?
those distinct environments are using the same OS as base to make them up and running, centos is what those environment offer and provide.