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).
@TysonGibby3 жыл бұрын
The solution for me for this was to install WSL version 2.
@abhishekprasad84923 ай бұрын
yeah i am facing the same things
@reemak.s8327Ай бұрын
for /f "tokens=*" %i in ('docker ps -a -q') do docker rm -f %i Use this command instead it works
@lalunacozumel3 жыл бұрын
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-zp7zv3 жыл бұрын
You're the best
@ashgurung85182 жыл бұрын
What a guy 🍻
@mohammedasif63002 жыл бұрын
thanks bro...
@victorialeigh27262 жыл бұрын
was looking for all over the place ! thanks! lol
@Mr_hyke2 жыл бұрын
thanks man
@chaitanyaj48774 жыл бұрын
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 Жыл бұрын
1:45:00
@lutif14154 жыл бұрын
finally finished after three useful weekends.
@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
@amadouba54249 күн бұрын
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 !
@larssamsung30334 жыл бұрын
Thanks for the video. :) By the way: I think "LTS" doesn't stand for "latest", but for "long term support".
@Cardstock13214 жыл бұрын
You are correct
@rohitghalistudies3 жыл бұрын
Yep. True.
@AbhimanyuAryan3 жыл бұрын
LOL did they say LTS as latest? Hahahaha
@shakechen79443 жыл бұрын
great,one night four hours finish the course. I would try to review again.really thank you very much.
@pratikbhattacharjee38468 ай бұрын
Thanks for giving such valuable content for free!
@joonchilla28713 жыл бұрын
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
@Lampalot2 жыл бұрын
thanks a bunch
@Summer96043 жыл бұрын
For those who are having trouble to create the Volume in Windows: Add a '/' before $(pwd). The rest is the same, you're welcome!
@JoeOlafs3 жыл бұрын
Thank you!! Exactly the issue I had
@bobarrack3 жыл бұрын
I still got a 403 Forbidden when I did localhost:8080
@ranjeetprajapati7693 ай бұрын
@@bobarrack same for me
@LamNguyen-dy5ep2 ай бұрын
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"
@jonathancunanan24903 жыл бұрын
Learned kubernetes from here! awesome
@aravindhm10684 жыл бұрын
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.
@justinwang43782 жыл бұрын
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 Жыл бұрын
Thank you very much
@frehall428 ай бұрын
ty! this is what i was looking for!
@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.
@harrydadson74673 жыл бұрын
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
@xjsnjkil20704 жыл бұрын
The best docker tutorial I found. Thanks man,
@SimpleMind348 ай бұрын
Wa Alaikum Assalam Brother
@hassan3kb Жыл бұрын
Thank you for this wonderful course 🙌🙌
@吴青昀4 жыл бұрын
the pronunciation of "docker" is cute, thank you for the perfect course
@z1lla44 жыл бұрын
No problem
@bigbangind4 жыл бұрын
Nelson is a great teacher. Thanks for the content.
@serhendiefendi4 жыл бұрын
Dehşetül Vahşet bir seri olmuş. 4 saatin hakkını vermişsiniz.
@xBeyondMystery4 жыл бұрын
Gosh, just what I was looking for. Thank you so much!!
@ytlagu20103 жыл бұрын
I went ahead and smashed the like button even if I am into dev-op stuff. Great energy... love it!
@jreis78pt3 жыл бұрын
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.
@hakimimastor67774 жыл бұрын
Waalaikumsalam brother, and peace for everyone in the world from Malaysia 🇲🇾🌍✌️
@karimmirak21584 жыл бұрын
🇩🇿 joined to your answer
@andrey1de3 жыл бұрын
Awesome and very sympaty .Thank I just luamched the study !!!!
@abhishekdanej3 жыл бұрын
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_games3 жыл бұрын
Great course, very clear and easy to understand
@mahendrajella2268 Жыл бұрын
Great Content Team. Can we have a link to Presentation/Document please.
@robinhowilson7 ай бұрын
Thank you so much for this course.
@Khushpich4 жыл бұрын
Thanks to the both of you, that was brillantly explained.
@pauldroppie4 жыл бұрын
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.shourov3 жыл бұрын
وعليكم السلام ورحمة الله وبركاته love from Bangladesh💕❤
@KhorshedAlam113 жыл бұрын
Thanks a million, both of you. Impressive!!!
@bouhamedayman84453 жыл бұрын
thanks for the big effort guys
@gabioeste3 жыл бұрын
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
@rachakondasantosh84983 жыл бұрын
Nelson explained it really well Thank you mate.
@FaithfulAnere4 жыл бұрын
Best clean one i ve seen so far. Good job guys loved it and learnt a lot from it. Cheers
@mushtakhussain90174 жыл бұрын
Walaikumsalam. I just started to learn docker security. Hope this helps me out. Thank you ❤
@hv33003 жыл бұрын
Great. At 30.11 it should be -p 8080:80 in the screenshot
@letsspeakbharath4 жыл бұрын
Soothing voice 👏🏻👏🏻👏🏻👏🏻👏🏻
@ianyimiah3 жыл бұрын
Really awesome stuff but LTS does not stand for "latest". it stands for "long term support".
@gabrieldoamaralruas61453 жыл бұрын
Thanks a lot for this free content! Congrats on explanations!
@rishab.huihui3 жыл бұрын
HOLY MOLY! Great content guys. Thanks a lot! :)
@alvirarahman15594 жыл бұрын
Walaikum Assalam brother! Thanks so much for this video!
@Lampalot2 жыл бұрын
Great course by both of them. Does anyone know where the K8 course is uploaded ?
@waniarifrasool4 жыл бұрын
وعليكم السلام ورحمة الله وبركاته أخي Beautiful
@waniarifrasool4 жыл бұрын
@@muhammadmuneebwafaie9647 yupp
@waniarifrasool4 жыл бұрын
@@muhammadmuneebwafaie9647 what's your name!?
@waniarifrasool4 жыл бұрын
@@muhammadmuneebwafaie9647 from Srinagar?
@waniarifrasool4 жыл бұрын
@@muhammadmuneebwafaie9647 developer? All the best.
@programmer40474 жыл бұрын
@@muhammadmuneebwafaie9647 how are you able to watch this video if you are from Kashmir, India. Coz, Internet is Banned Over There..
@derekchen1043 жыл бұрын
Thanks very much for your amazing video, short and get the point, and great presentation.
@bobarrack3 жыл бұрын
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.
@jreis78pt3 жыл бұрын
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)
@Jipperzob2 жыл бұрын
@@jreis78pt Thanks!
@mr.mohammadomidkarimy28632 жыл бұрын
Walikom Salam Brother, Thank you so much for great Content!
@realnycmoments4 жыл бұрын
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.
@anthonyfarias3214 жыл бұрын
Thanks for this great course!
@sprintwithcarlos4 жыл бұрын
This is so awesome!!! I’ve been Nana’s vídeos fan since the first watch
@abezacbatachikan36844 жыл бұрын
Really a great course, congrats!!! I enjoy each moment, and i understand every concept. I like a lot, thanks
@snehilvj2 жыл бұрын
Great course, thanks a lot!
@ioannisventouzis4 жыл бұрын
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
@yosuke198413 жыл бұрын
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.
@anyelovinzen5144 жыл бұрын
Excellent movie for today.🔥🔥🔥
@amanprasadoo72 жыл бұрын
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?
@pycode80584 жыл бұрын
AsssalmAlykum, very nice course. Can you please share format string you have used for formating the output for docker ps.
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
@RusuTraianCristian4 жыл бұрын
So Docker is basically the advanced hi-tech ship and K8s is the smart manager dealing with logistics and what not.
@fob34762 жыл бұрын
@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
@pauldroppie4 жыл бұрын
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.
@readhwolf4 жыл бұрын
waealaykum alsalam warahmat allah wabarakatuh, Bro wish you the best
@josephmakram43424 жыл бұрын
That the best start for docker thanks a lot for this awesome content
@giovannigiavoni7013 жыл бұрын
helpful content guys! thank you very much!
@andrey1de3 жыл бұрын
Hey I prolong to hear your realy SUPER EXCITE course. Please get me know where I achieve the pdf of course Please !!!
@ankitlakum14 жыл бұрын
OP docker 👍 thanks for information
@prasanthmanimaran75404 жыл бұрын
Wonderful ..... Thank you so much for sharing this ❤❤❤❤❤
@OnceUponKid Жыл бұрын
should we apply alpine for product?
@muhammad-s9b5d2 ай бұрын
Wa Alaikum Assalam Warahmat Ullah Wabarkaat
@danielowolabi68912 жыл бұрын
I can't find the description you spoke about for formatting the ps list of containers
@Stewty13 жыл бұрын
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.
@davosandoval3 жыл бұрын
Thanks a lot amigos! Felicitaciones
@parastak2469 Жыл бұрын
can we also change the port number ?
@xBazilio3 жыл бұрын
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.
@jeffkirchoff149 ай бұрын
What is the difference between ADD and COPY
@MedGa813 жыл бұрын
Really that's grate! tank you
@marcolimache26534 жыл бұрын
Thank you so much for this video.
@pisckipratama95294 жыл бұрын
Wa'alaikumsalam, I really enjoy your lectures. Thank you Nelson and Nana
@laurikyttala15634 жыл бұрын
Many Thanks!
@manofthehill74 ай бұрын
Walaikumasalaamwarahmahtulah!
@TheTotalSolo4 жыл бұрын
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-ov6mb3 жыл бұрын
Amazing amazing amazing!!!
@checkout83523 жыл бұрын
Thanks a lot!
@rcosta72392 жыл бұрын
Hello, enable video subtitles.
@nusantarajaya68694 жыл бұрын
Waalaikum salam warahmatullahi wabarakatuh my brother
@RohitTiwari-mo8mi4 жыл бұрын
Great session, learnt a lot 👍
@walidkhaled83874 жыл бұрын
Wa 3alykoum salam my brother
@thferreira864 жыл бұрын
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
@usmanmunir15594 жыл бұрын
Waalikum assalam!
@harshadj134 жыл бұрын
Ahoy, this is a great educational and most practical demonstration of Docker and Kubernetes. Can you also do this for Singularity. Thank you :D
@plamenstanchev213 жыл бұрын
SUPER !!!!!!
@you__shef3 жыл бұрын
can you share the terminal settings and how you show in bold and blue the name of the folder you're into? thanks
@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 Жыл бұрын
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