Docker:
In VM - It uses/keeps the resources HDD,memory,etc to the VMs, even they don't use any apps inside them.
Inside Docker, we install containers.
Container -- Box contains not complete OS like VM but only specific libraries/binaries (or basic OS files) for that OS to treat as an OS but not as a complete OS.
Like Ubuntu OS basic set of files (bootable files/system)
Advantage: Not having complete OS, only bootable files, so no resources allocated.
Cloning a container is also an easy process.
We can easily stop/start easily. so no ram is used if we poweroff.
- A platform for developing,shipping and running applications using an open-source container based technology.
- OS Level Virtualization
- Run everywhere - physical/clones/virtual
- Run anything - if it can run on host, it can run in the container
- Why Docker - Scalable, lightweight and Portable
In VM - It uses/keeps the resources HDD,memory,etc to the VMs, even they don't use any apps inside them.
Inside Docker, we install containers.
Container -- Box contains not complete OS like VM but only specific libraries/binaries (or basic OS files) for that OS to treat as an OS but not as a complete OS.
Like Ubuntu OS basic set of files (bootable files/system)
Advantage: Not having complete OS, only bootable files, so no resources allocated.
Cloning a container is also an easy process.
We can easily stop/start easily. so no ram is used if we poweroff.
No comments:
Post a Comment