Docker and Kubernetes - Full Course for Beginners

  Рет қаралды 246,023

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Пікірлер: 306
@SabrinaMarkon
@SabrinaMarkon 4 жыл бұрын
Removing containers section starting at 31:38: If you're trying to remove all containers at once with the rm command in Windows cmd, and get "unknown flag -a" errors, you can try instead the "docker container prune" command which removes unused containers. Prune also works for unused "image", "network", or "volume", or docker system prune to do the lot at once. The docker rm $(docker ps -aq) might also work in powershell terminal or another shell if you have one installed but cmd would not let me use docker rm $(docker ps -aq).
@TysonGibby
@TysonGibby 3 жыл бұрын
The solution for me for this was to install WSL version 2.
@abhishekprasad8492
@abhishekprasad8492 3 ай бұрын
yeah i am facing the same things
@reemak.s8327
@reemak.s8327 Ай бұрын
for /f "tokens=*" %i in ('docker ps -a -q') do docker rm -f %i Use this command instead it works
@lalunacozumel
@lalunacozumel 3 жыл бұрын
The code at 44:20 is the following: docker ps --format="ID\t{{.ID}} NAME\t{{.Names}} IMAGE\t{{.Image}} PORTS\t{{.Ports}} COMMAND\t{{.Command}} CREATED\t{{.CreatedAt}} STATUS\t{{.Status}} "
@sahilkumar-zp7zv
@sahilkumar-zp7zv 3 жыл бұрын
You're the best
@ashgurung8518
@ashgurung8518 2 жыл бұрын
What a guy 🍻
@mohammedasif6300
@mohammedasif6300 2 жыл бұрын
thanks bro...
@victorialeigh2726
@victorialeigh2726 2 жыл бұрын
was looking for all over the place ! thanks! lol
@Mr_hyke
@Mr_hyke 2 жыл бұрын
thanks man
@chaitanyaj4877
@chaitanyaj4877 4 жыл бұрын
1.45 hrs - The package.json file is downloaded into the folder by the 'npm init' command. 'npm install' command is used to unparse package.json and install the dependencies that are mentioned in the json file. The 'npm install express --save' command adds the package-lock.json file and Node folder and installs the dependencies specified in .json files.
@allahlesboslu2_9
@allahlesboslu2_9 Жыл бұрын
1:45:00
@lutif1415
@lutif1415 4 жыл бұрын
finally finished after three useful weekends.
@luisbremer9351
@luisbremer9351 Жыл бұрын
1 hour in and im very excited for whats next . this video is awesome and goes through every step so you can really understand the context of things
@amadouba5424
@amadouba5424 9 күн бұрын
listen ! watch this tutorial twice , the first time u have just to focus and try to understand the main concept , the second time follow what they are doing and practice . that's it !
@larssamsung3033
@larssamsung3033 4 жыл бұрын
Thanks for the video. :) By the way: I think "LTS" doesn't stand for "latest", but for "long term support".
@Cardstock1321
@Cardstock1321 4 жыл бұрын
You are correct
@rohitghalistudies
@rohitghalistudies 3 жыл бұрын
Yep. True.
@AbhimanyuAryan
@AbhimanyuAryan 3 жыл бұрын
LOL did they say LTS as latest? Hahahaha
@shakechen7944
@shakechen7944 3 жыл бұрын
great,one night four hours finish the course. I would try to review again.really thank you very much.
@pratikbhattacharjee3846
@pratikbhattacharjee3846 8 ай бұрын
Thanks for giving such valuable content for free!
@joonchilla2871
@joonchilla2871 3 жыл бұрын
Notes - command snippet from 44:00 docker ps --format="ID\t{{.ID}} NAME\t{{.Names}} IMAGE\t{{.Image}} PORTS\t{{.Ports}} COMMAND\t{{.Command}} CREATED\t{{.CreatedAt}} STATUS\t{{.Status}} " - Windows commands set FORMAT= "PASTE_HERE" docker ps --format=%FORMAT% docker run --name website -v %cd%:/usr/share/nginx/html:ro -d -p 8080:80 nginx - nginx-deployment.yaml from Kubernetes instruction: apiVersion: apps/v1 # updated this from appVersion to apiVersion kind: Deployment metadata: name: nginx-deployment labels: app: nginx # specification for the deployment spec: replicas: 1 selector: matchLabels: app: nginx # blueprint for pods template: metadata: labels: app: nginx # specification for the pod spec: containers: - name: nginx image: nginx:1.16 ports: - containerPort: 80
@Lampalot
@Lampalot 2 жыл бұрын
thanks a bunch
@Summer9604
@Summer9604 3 жыл бұрын
For those who are having trouble to create the Volume in Windows: Add a '/' before $(pwd). The rest is the same, you're welcome!
@JoeOlafs
@JoeOlafs 3 жыл бұрын
Thank you!! Exactly the issue I had
@bobarrack
@bobarrack 3 жыл бұрын
I still got a 403 Forbidden when I did localhost:8080
@ranjeetprajapati769
@ranjeetprajapati769 3 ай бұрын
@@bobarrack same for me
@LamNguyen-dy5ep
@LamNguyen-dy5ep 2 ай бұрын
Thank you!! Also if getting some error about lower case letters in windows. Put everything for -v in quotations for example: -v "/$(pwd):/usr/share/nginx/html:ro"
@jonathancunanan2490
@jonathancunanan2490 3 жыл бұрын
Learned kubernetes from here! awesome
@aravindhm1068
@aravindhm1068 4 жыл бұрын
Have been looking for a docker video for a long time, saw this upload this morning, and man this was productive. Great Explanation and concise examples. Now, I have to watch the kubes section.
@justinwang4378
@justinwang4378 2 жыл бұрын
For anyone getting 403 error, you need to create the container in the dist directory of the Bootstrap project, not the website directory. Follow the same scripts in the dist directory and it should work
@eliasaiyenero6127
@eliasaiyenero6127 Жыл бұрын
Thank you very much
@frehall42
@frehall42 8 ай бұрын
ty! this is what i was looking for!
@MallikarjunKamtala1994
@MallikarjunKamtala1994 Жыл бұрын
Docker course is really good, I was able to understand every concept and have a hands-on experience. But K8s part is not that much good though there is scope for improvement, at some places the instructor got confused and was unclear at some places.
@harrydadson7467
@harrydadson7467 3 жыл бұрын
This was sooo good, I was hooked when I started, but I'm surprised there were nothing about Docker Compose. But anyway thanks for the content
@xjsnjkil2070
@xjsnjkil2070 4 жыл бұрын
The best docker tutorial I found. Thanks man,
@SimpleMind34
@SimpleMind34 8 ай бұрын
Wa Alaikum Assalam Brother
@hassan3kb
@hassan3kb Жыл бұрын
Thank you for this wonderful course 🙌🙌
@吴青昀
@吴青昀 4 жыл бұрын
the pronunciation of "docker" is cute, thank you for the perfect course
@z1lla4
@z1lla4 4 жыл бұрын
No problem
@bigbangind
@bigbangind 4 жыл бұрын
Nelson is a great teacher. Thanks for the content.
@serhendiefendi
@serhendiefendi 4 жыл бұрын
Dehşetül Vahşet bir seri olmuş. 4 saatin hakkını vermişsiniz.
@xBeyondMystery
@xBeyondMystery 4 жыл бұрын
Gosh, just what I was looking for. Thank you so much!!
@ytlagu2010
@ytlagu2010 3 жыл бұрын
I went ahead and smashed the like button even if I am into dev-op stuff. Great energy... love it!
@jreis78pt
@jreis78pt 3 жыл бұрын
Great content and great teaching skills, thanks for sharing! Just an head up (minutes 23-24): stopping a container on windows, even without starting it with -d flag, did not stop the container daemon. I had to execute "docker stop [container id]" in order to really stop it.
@hakimimastor6777
@hakimimastor6777 4 жыл бұрын
Waalaikumsalam brother, and peace for everyone in the world from Malaysia 🇲🇾🌍✌️
@karimmirak2158
@karimmirak2158 4 жыл бұрын
🇩🇿 joined to your answer
@andrey1de
@andrey1de 3 жыл бұрын
Awesome and very sympaty .Thank I just luamched the study !!!!
@abhishekdanej
@abhishekdanej 3 жыл бұрын
Thanks for all the effort Great course .. and great learning experience coding with you guys! Nice detail in the docker part.. and I am completely new to k8s and found it really useful to know concepts on services, configmap and secrets. K8s content could be more wrt docker content. Also, pls update the video description with git resources. Thanks again.
@reek_games
@reek_games 3 жыл бұрын
Great course, very clear and easy to understand
@mahendrajella2268
@mahendrajella2268 Жыл бұрын
Great Content Team. Can we have a link to Presentation/Document please.
@robinhowilson
@robinhowilson 7 ай бұрын
Thank you so much for this course.
@Khushpich
@Khushpich 4 жыл бұрын
Thanks to the both of you, that was brillantly explained.
@pauldroppie
@pauldroppie 4 жыл бұрын
I really like this video. But LTS does not mean latest. It means Long Term Support. At 2:12:19 it shows that on the node website.
@sahriar.shourov
@sahriar.shourov 3 жыл бұрын
وعليكم السلام ورحمة الله وبركاته love from Bangladesh💕❤
@KhorshedAlam11
@KhorshedAlam11 3 жыл бұрын
Thanks a million, both of you. Impressive!!!
@bouhamedayman8445
@bouhamedayman8445 3 жыл бұрын
thanks for the big effort guys
@gabioeste
@gabioeste 3 жыл бұрын
If you got this 403 error, means that Nginx does not find the index.html file, point the volumen to the dist folder inside the Start Bootstrap - Grayscale directory
@rachakondasantosh8498
@rachakondasantosh8498 3 жыл бұрын
Nelson explained it really well Thank you mate.
@FaithfulAnere
@FaithfulAnere 4 жыл бұрын
Best clean one i ve seen so far. Good job guys loved it and learnt a lot from it. Cheers
@mushtakhussain9017
@mushtakhussain9017 4 жыл бұрын
Walaikumsalam. I just started to learn docker security. Hope this helps me out. Thank you ❤
@hv3300
@hv3300 3 жыл бұрын
Great. At 30.11 it should be -p 8080:80 in the screenshot
@letsspeakbharath
@letsspeakbharath 4 жыл бұрын
Soothing voice 👏🏻👏🏻👏🏻👏🏻👏🏻
@ianyimiah
@ianyimiah 3 жыл бұрын
Really awesome stuff but LTS does not stand for "latest". it stands for "long term support".
@gabrieldoamaralruas6145
@gabrieldoamaralruas6145 3 жыл бұрын
Thanks a lot for this free content! Congrats on explanations!
@rishab.huihui
@rishab.huihui 3 жыл бұрын
HOLY MOLY! Great content guys. Thanks a lot! :)
@alvirarahman1559
@alvirarahman1559 4 жыл бұрын
Walaikum Assalam brother! Thanks so much for this video!
@Lampalot
@Lampalot 2 жыл бұрын
Great course by both of them. Does anyone know where the K8 course is uploaded ?
@waniarifrasool
@waniarifrasool 4 жыл бұрын
وعليكم السلام ورحمة الله وبركاته أخي Beautiful
@waniarifrasool
@waniarifrasool 4 жыл бұрын
@@muhammadmuneebwafaie9647 yupp
@waniarifrasool
@waniarifrasool 4 жыл бұрын
@@muhammadmuneebwafaie9647 what's your name!?
@waniarifrasool
@waniarifrasool 4 жыл бұрын
@@muhammadmuneebwafaie9647 from Srinagar?
@waniarifrasool
@waniarifrasool 4 жыл бұрын
@@muhammadmuneebwafaie9647 developer? All the best.
@programmer4047
@programmer4047 4 жыл бұрын
@@muhammadmuneebwafaie9647 how are you able to watch this video if you are from Kashmir, India. Coz, Internet is Banned Over There..
@derekchen104
@derekchen104 3 жыл бұрын
Thanks very much for your amazing video, short and get the point, and great presentation.
@bobarrack
@bobarrack 3 жыл бұрын
It will be great if you give the alternate Windows commands too. For example the format thing doesn't work in WIndows neither the format thing.
@jreis78pt
@jreis78pt 3 жыл бұрын
Launch PowerShell. On it run Format the containers listing > docker ps --format="ID\t{{.ID}} NAME\t{{.Names}} IMAGE\t{{.Image}} PORTS\t{{.Ports}} COMMAND\t{{.Command}} CREATED\t{{.CreatedAt}} STATUS\t{{.Status}} ""ID\t{{.ID}} NAME\t{{.Names}} IMAGE\t{{.Image}} PORTS\t{{.Ports}} COMMAND\t{{.Command}} CREATED\t{{.CreatedAt}} STATUS\t{{.Status}} " PowerSheel set environment variable > $env:FORMAT=”ID\t{{.ID}} NAME\t{{.Names}} IMAGE\t{{.Image}} PORTS\t{{.Ports}} COMMAND\t{{.Command}} CREATED\t{{.CreatedAt}} STATUS\t{{.Status}} ""ID\t{{.ID}} NAME\t{{.Names}} IMAGE\t{{.Image}} PORTS\t{{.Ports}} COMMAND\t{{.Command}} CREATED\t{{.CreatedAt}} STATUS\t{{.Status}} " PowerSheel list all or one variable > dir env: > dir env:FORMAT > $env:FORMAT List containers based on a variable holding the format > docker ps --format=$($env:FORMAT)
@Jipperzob
@Jipperzob 2 жыл бұрын
@@jreis78pt Thanks!
@mr.mohammadomidkarimy2863
@mr.mohammadomidkarimy2863 2 жыл бұрын
Walikom Salam Brother, Thank you so much for great Content!
@realnycmoments
@realnycmoments 4 жыл бұрын
Thanks for this video. It helps a lot. Now, how do we deploy our app to a production server on a public domain/IP? Do we need to use another tool such as Jenkins, etc? I have a little flask app running locally using docker compose. How do I go about making changes locally and deploying those changes to my web host server so the world can see it and use it? Thank you for your great tutorial again.
@anthonyfarias321
@anthonyfarias321 4 жыл бұрын
Thanks for this great course!
@sprintwithcarlos
@sprintwithcarlos 4 жыл бұрын
This is so awesome!!! I’ve been Nana’s vídeos fan since the first watch
@abezacbatachikan3684
@abezacbatachikan3684 4 жыл бұрын
Really a great course, congrats!!! I enjoy each moment, and i understand every concept. I like a lot, thanks
@snehilvj
@snehilvj 2 жыл бұрын
Great course, thanks a lot!
@ioannisventouzis
@ioannisventouzis 4 жыл бұрын
The tutorial is perfect. I have only one comment, the docker exec command at Windows not work with /bin/sh/ but it works with only sh
@yosuke19841
@yosuke19841 3 жыл бұрын
I think 7:10 is not correct. VM with type two hypervisor shares host OS (typically some kernel). I agree if you explain only type one hypervisor.
@anyelovinzen514
@anyelovinzen514 4 жыл бұрын
Excellent movie for today.🔥🔥🔥
@amanprasadoo7
@amanprasadoo7 2 жыл бұрын
Docker rm should remove the container Rm command usually used to delete So if we deleted the container don't we need to install the docker image then run the container? Means rm just removes the image from the cli but the image will be in background consuming disk space? I'm i correct?
@pycode8058
@pycode8058 4 жыл бұрын
AsssalmAlykum, very nice course. Can you please share format string you have used for formating the output for docker ps.
@ronnieoverby
@ronnieoverby 2 жыл бұрын
docker ps --format="ID\t{{.ID}} NAME\t{{.Names}} IMAGE\t{{.Image}} PORTS\t{{.Ports}} COMMAND\t{{.Command}} CREATED\t{{.CreatedAt}} STATUS\t{{.Status}} "
@allahlesboslu2_9
@allahlesboslu2_9 Жыл бұрын
😂😂😂 @sslam ?? Bruh
@adamrolczyk7217
@adamrolczyk7217 2 жыл бұрын
Awesome tutorials, thank you. :)
@rodossaenz
@rodossaenz 2 жыл бұрын
If you run into "The connection to the server localhost:8080 was refused - did you specify the right host or port?" Be sure to execute "minikube start" :D
@RusuTraianCristian
@RusuTraianCristian 4 жыл бұрын
So Docker is basically the advanced hi-tech ship and K8s is the smart manager dealing with logistics and what not.
@fob3476
@fob3476 2 жыл бұрын
@Nana Earlier in your presentation you used Deployment for stateless applications and StatefulSet for stateful (like DB).. What is the reason you used a deployment for MongoDB ? I'd expect Statefulset
@pauldroppie
@pauldroppie 4 жыл бұрын
Also docker images do not have a version. They only have a tag which is a string. So if you pull the alpine version you actually are hoping you are pulling the latest, but it could be any version.
@readhwolf
@readhwolf 4 жыл бұрын
waealaykum alsalam warahmat allah wabarakatuh, Bro wish you the best
@josephmakram4342
@josephmakram4342 4 жыл бұрын
That the best start for docker thanks a lot for this awesome content
@giovannigiavoni701
@giovannigiavoni701 3 жыл бұрын
helpful content guys! thank you very much!
@andrey1de
@andrey1de 3 жыл бұрын
Hey I prolong to hear your realy SUPER EXCITE course. Please get me know where I achieve the pdf of course Please !!!
@ankitlakum1
@ankitlakum1 4 жыл бұрын
OP docker 👍 thanks for information
@prasanthmanimaran7540
@prasanthmanimaran7540 4 жыл бұрын
Wonderful ..... Thank you so much for sharing this ❤❤❤❤❤
@OnceUponKid
@OnceUponKid Жыл бұрын
should we apply alpine for product?
@muhammad-s9b5d
@muhammad-s9b5d 2 ай бұрын
Wa Alaikum Assalam Warahmat Ullah Wabarkaat
@danielowolabi6891
@danielowolabi6891 2 жыл бұрын
I can't find the description you spoke about for formatting the ps list of containers
@Stewty1
@Stewty1 3 жыл бұрын
P.S. I understand that you only need to log in to Docker WHEN downloading docker dmg, but you DO NOT NEED to login to docker once you have already install docker on your Mac , right? Last Wednesday I downloaded docker (and had to log in to download it), was able to install successfully and follow lessons here. Same thing on Thursday. But Friday it stopped working. I had to reinstall.
@davosandoval
@davosandoval 3 жыл бұрын
Thanks a lot amigos! Felicitaciones
@parastak2469
@parastak2469 Жыл бұрын
can we also change the port number ?
@xBazilio
@xBazilio 3 жыл бұрын
1:56:10 lts = Long Term Support, not latest. You could've place some text comment on top of the video at least to not confuse people.
@jeffkirchoff14
@jeffkirchoff14 9 ай бұрын
What is the difference between ADD and COPY
@MedGa81
@MedGa81 3 жыл бұрын
Really that's grate! tank you
@marcolimache2653
@marcolimache2653 4 жыл бұрын
Thank you so much for this video.
@pisckipratama9529
@pisckipratama9529 4 жыл бұрын
Wa'alaikumsalam, I really enjoy your lectures. Thank you Nelson and Nana
@laurikyttala1563
@laurikyttala1563 4 жыл бұрын
Many Thanks!
@manofthehill7
@manofthehill7 4 ай бұрын
Walaikumasalaamwarahmahtulah!
@TheTotalSolo
@TheTotalSolo 4 жыл бұрын
Hi , when you are running the command "docker ps --format" you used some formatting code and said that we can get it from description of the video, but I didn't find that in description. Could please post it one more time.
@SA-ov6mb
@SA-ov6mb 3 жыл бұрын
Amazing amazing amazing!!!
@checkout8352
@checkout8352 3 жыл бұрын
Thanks a lot!
@rcosta7239
@rcosta7239 2 жыл бұрын
Hello, enable video subtitles.
@nusantarajaya6869
@nusantarajaya6869 4 жыл бұрын
Waalaikum salam warahmatullahi wabarakatuh my brother
@RohitTiwari-mo8mi
@RohitTiwari-mo8mi 4 жыл бұрын
Great session, learnt a lot 👍
@walidkhaled8387
@walidkhaled8387 4 жыл бұрын
Wa 3alykoum salam my brother
@thferreira86
@thferreira86 4 жыл бұрын
You two are modern gods. Thank you so much for this. Thank you freecodecamp too for sharing, I can always trust anything I watch from their channel will be amazing content. Subscribed to both channels :) Keep it up
@usmanmunir1559
@usmanmunir1559 4 жыл бұрын
Waalikum assalam!
@harshadj13
@harshadj13 4 жыл бұрын
Ahoy, this is a great educational and most practical demonstration of Docker and Kubernetes. Can you also do this for Singularity. Thank you :D
@plamenstanchev21
@plamenstanchev21 3 жыл бұрын
SUPER !!!!!!
@you__shef
@you__shef 3 жыл бұрын
can you share the terminal settings and how you show in bold and blue the name of the folder you're into? thanks
@prashkd7684
@prashkd7684 Жыл бұрын
This video is good but it could've been awsome if it wasn't for "get rich quick" ads popping up every 2-3 minutes. For such long videos, I usually put them on side monitor listening while doing my other work. I don't mind ads but I just wish I had the option to disable the annoying ones.
@mohamadghadieh3605
@mohamadghadieh3605 Жыл бұрын
the CMD step in the Dockerfile is running but it is not displayed as a 'Step' on the console when you run docker build, also, i don't think caching is working as i am not getting the same output as the video at 1:50:10
Kubernetes Crash Course for Absolute Beginners [NEW]
1:12:04
TechWorld with Nana
Рет қаралды 2,9 МЛН
Kubernetes Course - Full Beginners Tutorial (Containerize Your Apps!)
2:58:01
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 43 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 111 МЛН
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 6 МЛН
Docker Containers and Kubernetes Fundamentals - Full Hands-On Course
5:56:37
Docker Tutorial for Beginners [FULL COURSE in 3 Hours]
2:46:15
TechWorld with Nana
Рет қаралды 5 МЛН
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 252 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 323 М.
Complete Docker Course - From BEGINNER to PRO! (Learn Containers)
4:44:21
DevOps Directive
Рет қаралды 400 М.
Docker and Kubernetes Tutorial |  Full Course [2021]
4:18:00
Amigoscode
Рет қаралды 734 М.
Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]
3:36:55
TechWorld with Nana
Рет қаралды 8 МЛН
Complete Kubernetes Course - From BEGINNER to PRO
6:14:41
DevOps Directive
Рет қаралды 137 М.
Docker Tutorial for Beginners - What is Docker? Introduction to Containers
1:42:59
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24