Day 01 Containers vs VMs | Docker Architecture, Installation, Networking, and Commands
HTML-код
- Опубликовано: 10 июл 2024
- In this video, we dive into the basics of Docker, covering everything from hardware components to running basic Docker commands. Whether you're new to Docker or looking to refresh your knowledge, this tutorial has you covered!
Topics Covered:
Hardware Components: Learn about the CPU, RAM, Hard Drive, and Graphics Cards.
Software Components: Understand the Operating System and Applications.
The Kernel: Discover how the kernel bridges software and hardware.
Container Runtimes: Explore Container-D, Docker, and CRI-O.
Containers vs. Virtual Machines: Understand the differences and use cases.
Docker Architecture: Learn about the Docker Client, Docker Hub, and Docker Registry.
Installing Docker & Network Changes: Step-by-step installation and network configuration.
Listing Namespaces & Basic Docker Commands: Get hands-on with essential Docker commands.
Timestamps :
00:00 Intro
13:02 Installing Docker in Most easiest way
14:44 Learning about Docker 0 network
16:43 Understanding Docker Client and Server Arch
19:10 Docker Back to back commands, Dont ignore.
GitHub : github.com/saikiranpi/Masteri...
Docker : hub.docker.com/u/kiran2361993
Portfolio : www.saikiranpi.in
Medium : / pinapathrunisaikiran
Join Telegram : t.me/+sSEfFZVOQTM4NWFl
#docker #containers #virtualmachines #devops #techtutorial #DockerInstallation #networking #softwaredevelopment #programming #itinfrastructure #cloudcomputing #kubernetes #DockerCommands #techeducation #virtualization #coding #opensource #sysadmin #techcommunity #LearnDocker
25:28 👉run multiple containers
for i in (1..10); do
docker run -d nginx:latest
done:
List the status of the running containers 👉docker ps
List the status of all containers 👉docker ps -a
List only container id 👉docker ps -aq
26:25 stop all the running container
docker stop ${docker ps -aq}
27:20 remove all the containers
docker rm ${docker ps -aq}
28:18 delete the image when stopped the container
docker run --rm -d name app1 nginx:latest
29:56 Concept of Port 4ing
31:57 Creating alias in Linux
👉 nano .bashrc
👉 alias dstop 'docker stop ${docker ps -aq}'
👉 source .bashrc
34:02 Port 4ing command
docker run -rm -d -name frontend -p 8000:80 nginx:latest
35:18 Check the logs
docker logs -f frontend
36:03 Proper way to get the logs from the path
cd /var/lib/docker/containers
ls 👉 pick the correct .json file and do a cat on it
36:32 cat .json | jq
37:30
docker inspect frontend
docker inspect frontend | grep -i 👉 to get the IPAddress
Ifconfig 👉 docker0: (inet) 172.17.0.1
@@user-bu3em6zg4r fantastic !!!
real life content!
amazing bro, waiting for more content like this.
@@santoshburada1657 Thanks for watching
great to watch
ifconfig & docker 👉 explained good
containerd ❓(demon) first time I am hearing , Thanks 🙏
@26:37 docker stop all started containers 👏
@@user-bu3em6zg4r Thanks for watching, please do let other know that we have started docker + Kubernetes. Thanks in advance :)
very useful content! eager to learn more from your videos.
@@subalakshmisekar9626 thanks a lot
@Saikiran Thanks for your explanation, looking forward for more docker videos.
@@JeswanthVarmaDatla thanks a lot for watching :)
Just gone through it and let me tell you this is one of the best explanation and the way you added the real world things in between are best. ❤❤
@@aakashpunekar9437 Thanks a lot for watching
Excellent, Bro!!! keep doing such good videos to help us lot as Techkies...
Sure , A post on LinkedIn will be really appreciated, So that all can watch :)
Simply superb bro is linux session available?
@@jwbskan Yes it’s available but during DevSecOps not docker + Kubernetes.
Thank you so much Bhai, I am rooting for you!
So nice of you
Nice brother, thx
@@nzucode thanks you so much for watching
When i give docker network ls i am getting permission denied error Can you help me how to get rid of it ?
@@jwbskan join here and raise a question please
t.me/+sSEfFZVOQTM4NWFl
Brother Namespace ante enti? teach chestunapudu ilati terms ni explain cheyandi please.
@@user-ym2to6iw8o sure Santosh, from next time il explain with very core basics
bro why last two videos are hidden
@@user-ym2to6iw8o no I didn’t hidden any .
@@SaiKirannPinapathruni 8th and 9th i cant see.... "2 unavailable videos are hidden" error comment
@@user-ym2to6iw8o till now I uploaded only 7 videos from day 00 to day 06