Run Your First Docker Container — Hello World & Beyond | Docker #3

Опубликовано: 23 Июль 2026
на канале: DevOps with Prashant
40
3

🐳 Time to get your hands dirty — in this video we go straight to the terminal and run real Docker containers from scratch.

No theory. Just commands, output, and understanding what's actually happening.

✅ What you'll learn:
→ docker run — how it works and what the output means
→ -d flag — run containers in the background (detached mode)
→ -p flag — map ports between your machine and the container
→ --name flag — stop relying on random auto-generated names
→ -it flag — get an interactive shell inside a running container
→ --rm flag — auto-delete containers when they stop
→ docker ps and docker ps -a — see what's running (and what's not)
→ docker stop — stop a docker container
→ docker start — start a docker container


⚡ Every concept is shown live in the terminal — no slides.


━━━━━━━━━━━━━━━━━━━━━
📋 COMMANDS FROM THIS VIDEO
━━━━━━━━━━━━━━━━━━━━━
docker run hello-world
docker run -d nginx
docker run -d -p 8080:80 nginx
docker run -d -p 8080:80 --name my-nginx nginx
docker run -it ubuntu bash
docker exec -it my-ubuntu bash
docker run --rm ubuntu echo "hello"
docker ps
docker ps -a
docker stop my-nginx

━━━━━━━━━━━━━━━━━━━━━
📚 FULL PLAYLIST — Docker Container: Beginner to Expert
━━━━━━━━━━━━━━━━━━━━━
   • Docker Container: Beginner to Expert  

━━━━━━━━━━━━━━━━━━━━━
🔗 RESOURCES
━━━━━━━━━━━━━━━━━━━━━
→ Docker docs: https://docs.docker.com/reference/cli...
→ Docker Hub: https://hub.docker.com
→ Installation guide: https://github.com/devopswithprashant...


━━━━━━━━━━━━━━━━━━━━━

Like 👍 if the commands made sense — it helps others find this series!

#Docker #DockerTutorial #DockerRun #DevOps #Containers #LearnDocker #DockerForBeginners #BackendDevelopment #ProgrammingTutorial #CloudComputing #devopswithprashant