loading...

Containers: Under the hood

rajasneha_dev profile image Rajasneha ・1 min read

Alt Text

When we move the app across environments like Developemnt, staging and production, we would have faced compatibility issues.

Containers solves this "dependency hell".

Alt Text

Virtual machines virtualizes on hardware level, which takes a dig at performance.

Alt Text

Docker uses LXC - linux containers, which sandboxes processes through namespaces.

LXC also provides cgroups - control groups, developed by google, for resources accounting and limiting.

Alt Text

Docker also uses CoW strategy, where all the containers share the same file system, the moment when a process in container wants to write to the file system, it makes a copy and writes on it.

More on - https://www.rsforce.net/post/what-are-containers-under-the-hood

Posted on by:

Discussion

pic
Editor guide
 

Hey nice draws rajasneha

 
 

Hey, thanks for letting me know.