Skip to content

Latest commit

 

History

History
72 lines (36 loc) · 1.98 KB

docker.md

File metadata and controls

72 lines (36 loc) · 1.98 KB

Docker

What is docker ?

  • Set of platform as a service products

  • Uses OS-level virtualization to deliver software in packages called containers

  • Containers are isolated from one another and bundle their own software, libraries and configuration files

  • they can communicate with each other through well-defined channels

What are Containers?

  • containers are only isolated groups of processes running on a single host, which fulfill a set of “common” features reference-link

  • standard unit of software

  • packages up code and all its dependencies

  • so the application runs quickly and reliably from one computing environment to another OR

  • offer a logical packaging mechanism

  • applications can be abstracted from the environment in which they actually run

Why Containers? Why not VMs

  • containers are far more lightweight vs VMs

  • they share the OS kernel, start much faster vs VMs

  • use a fraction of the memory compared to booting an entire OS.

When to use VMs Vs Containers

  • House traditional, legacy, and monolothic workloads

  • Provision infrastructural resources (such as networks, servers, and data)

  • Run a different OS inside another OS (such as running Unix on Linux)

By default what is the memory limit for a docker container?

How can you set a limit on the container memory in docker?