Day 3: No Light, But I Finally Understood GitHub & Docker (With Garri & Bus Analogy) 😂
Yesterday NEPA took light — 124 views with laptop off! Today light is back, let's gist!
I used to think GitHub & Docker na big grammar. Until I explained it to my neighbor selling akara:1. GitHub = Your Mama's Soup Pot & Note Book
You know how mama writes soup recipe in a book? If soup spoils, she checks the book to remember yesterday's recipe.GitHub is that book for code.I cook code (add pepper). I write inside GitHub book: "Today I added salt" (git commit -m "added salt").
If I spoil the soup (code breaks), I open book and go back to yesterday's sweet soup (git revert) That "src refspec main" error? Na because I tried to serve soup without writing recipe first! No more "my code disappeared" story!2. Docker = Your Cooler of Rice for Delivery
Imagine you cook jollof for a customer in PH. You want to deliver to Lagos and it must still taste same, hot, with same plate, spoon. If you carry pot open for bus, everything spills! Docker is a COOLER (container). You put your jollof (NGold app) + plate + spoon + stew + even table inside ONE cooler, lock it. On your gas (your laptop), it works.On my gas (AWS EC2 Cloud), you open same cooler — same taste! No "it works on my machine" lie!
My command: docker run -p 3000:3000 ngold = "Abeg open cooler for table 3000! "That's why NGold now lives on 32.196.145.76:3000 — inside cooler, inside Cloud!
Lesson: Cloud Computing is just another person's big kitchen (AWS) where you keep your cooler.From 0 to 124 views, no light can stop us! Next: Putting cooler inside my own shop Sirvickcloud9.online. Have you ever tasted food that changed taste after delivery? That's what Docker fixes! Comment your experience!Live: 32.196.145.76:3000
Full Dairy: sirvick-deployments.blogspot.com
#CloudComputing #Docker #GitHub #NigeriaTech #SirvickDairy #LearnInPidgin

Comments
Post a Comment