Skip to content

Instantly share code, notes, and snippets.

@sriram-palanisamy-hat
Last active January 29, 2026 05:09
Show Gist options
  • Select an option

  • Save sriram-palanisamy-hat/6cc60f174c97aed3031a4342f79cd317 to your computer and use it in GitHub Desktop.

Select an option

Save sriram-palanisamy-hat/6cc60f174c97aed3031a4342f79cd317 to your computer and use it in GitHub Desktop.
  • What's the topic?
    • Docker
    • Why Docker?
      • Because from data to dev to ops everyone is using it
      • Category Technologies
        Backend Rails FastAPI NestJS Express Spring
        Frontend Frameworks React Vue Svelte
        Databases PostgreSQL MongoDB
        Mobile Frameworks React Native Flutter
        Desktop Qt
  • Let's get Started
    • How do we start Docker
      • Install it first
      • Write a docker file
        • FROM node:24.13.0
          WORKDIR /app
          COPY ./src ./src
          EXPOSE 3000
          CMD ["node", "test.js"]
          
        • What is the image node:24.13.0
          • What's inside of it
        • What the WORKDIR and COPY means
          • copy the files
        • We can hold the EXPOSE 3000
        • To run the app we do node test.js
      • We can run this even in our machine without docker right that means what's the need for Docker?
        • Noisy Neighbour Problem
          • How to Handle Multi-Tenant Performance Issues or “Noisy Neighbor Problem”?  | Medium
        • Why not Virtual Machines
          • What's the diff
          • No Hypervisor overhead everything's shared in the host kernel
            • Docker vs VM: Hypervisor vs Docker FAQs Answered
        • Resource Allocation separately for separate services
          • How it achieves that using cgroups and namespaces
          • INSIDE DOCKER | Exploring Namespaces, cgroups, and more! | by  headintheclouds | Dev Genius
            • What's a Cgroup and Namespace
              • CGroup
                • Digest #02 - Introduction to Linux Cgroups - by TRÄW🤟{:height 421, :width 594}
              • NameSpaces
                • Isolate the network
                • Docker Networking: How containers communicate? | by Ruhul Amin | Stackademic
          • We can run it in ec2 machines and add load balancing and scale incrementally why not that?
            • It also solves works on my machine , It works everywhere
            • What to do when need for scaling 1000's of machines in netflix ,google
              • That's where Kubernetes comes into play
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment