1.

Why do we need containers? Give at least 3 reasons.

Answer»

Containers is a virtualization technique which is based on the operating system resources. Multiple containers share the same host operating system. The main advantages are:

  • Consistent and Reliable Environment

Containers help to achieve a stable environment that helps the APPLICATION to run reliably. All dependencies like libraries ETC needed for the applications are packaged into the containers. Containers can also include dependencies like specific versions of PROGRAMMING languages and other software libraries. Containers, in turn, increases the productivity of the developers and operations teams as they can concentrate more on the actual application rather than debugging different computing environments. This also creates fewer bugs for  the developers and IT operations teams.

  • Run Anywhere

Containers can run anywhere-

  1. Across different operating system whether it be a Linux, Windows or Mac system. or a developer  
  2. Available across different service providers like AWS, Azure, GCP, etc.
  3. Can be used across different environments like development, test, pre-production, production, etc.
  • Isolation

Since the containers virtualize  OS resources like file systems developers get an isolated sandbox from other applications using containers. The container itself acts as a full-fledged system providing this isolation.

  • From CODE to Applications (Infrastructure As Code)

Applications along with its dependencies are packaged into the containers which could be versioned. This helps easy management and LEADING to greater agility and productivity.



Discussion

No Comment Found