sameer fakhoury
  • Home
  • CTF Writeups
  • Course Summaries
  • Cyber Reports
  • Articles
  • Event Notes
  • About Me
Enhancing Cyber Security with Containers and Docker

Enhancing Cyber Security with Containers and Docker

Category
Development Tools
Level
Intermediate
Number
43

Containers and Docker play a crucial role in enhancing cyber security by providing isolation and consistency for applications.

Containers → like Docker, act as virtual compartments for applications, keeping them isolated from each other. This isolation prevents cyber attacks from spreading across a system, limiting their impact.

comparison between containers and VM as an example:

  1. Containers:
    • Containers are like individual rooms within the house.
    • Each room (container) can have its own setup, decorations, and activities.
    • If something goes wrong or messy in one room, it doesn't affect the other rooms much.
  2. VM:
    • VM is like having separate houses (virtual machines) within your property.
    • Each house (VM) is fully equipped with its own kitchen, living room, and bedroom.
    • If there's a problem or a mess in one house, it doesn't affect the other houses at all.

Docker is a platform that allows you to develop, deploy, and run applications using containerization

  1. Containerization: Docker isolates applications in self-contained units called containers.
  2. Docker file: Developers specify application settings in a Docker file.
  3. Image Creation: Docker builds images based on Docker file instructions → executable package that contains everything needed to run a specific application, including the code, dependencies, libraries
  4. Container Launch: Users start containers from images using Docker.
  5. Management: Docker handles container operations like starting, stopping, and removing them.

Summary:

  • Containers offer isolation, minimizing the impact of security breaches.
  • Docker enables the creation of portable container images for secure deployments.
  • Containers are like rooms in a house, offering isolation for different activities within the same environment.
  • VM is like having separate houses, providing complete isolation for different environments within the same property.

©sameer fakhoury

GitHubLinkedIn