Tuesday, September 11, 2018

Container and VM


Container and VM:



Containers aren’t Mini-VM’s.
They are just processes.

Limited to what resources they can access.
Exit when process stops.

Those processes are visible on the Host machine also, but with different description.
docker top

Let’s start a mongo db container.
docker run --name mongo -d mongo

to see that process on host machine:
ps aux | grep mongo

No comments:

Post a Comment