Docker and Kubernetes - Full Course for Beginners

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024

Комментарии • 303

  • @SabrinaMarkon
    @SabrinaMarkon 3 года назад +47

    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 Месяц назад

      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 года назад +127

    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}}
    "

  • @lutif1415
    @lutif1415 3 года назад +16

    finally finished after three useful weekends.

  • @larssamsung3033
    @larssamsung3033 3 года назад +111

    Thanks for the video. :) By the way: I think "LTS" doesn't stand for "latest", but for "long term support".

  • @luisbremer9351
    @luisbremer9351 Год назад +1

    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

  • @xBeyondMystery
    @xBeyondMystery 4 года назад +13

    Gosh, just what I was looking for. Thank you so much!!

  • @pratikbhattacharjee3846
    @pratikbhattacharjee3846 6 месяцев назад

    Thanks for giving such valuable content for free!

  • @marcguillaume8200
    @marcguillaume8200 5 месяцев назад

    Thx so much for your lessons
    I really enjoy it and learn a lot
    Thx Nelson and Nana

  • @chaitanyaj4877
    @chaitanyaj4877 3 года назад +6

    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.

  • @aravindhm1068
    @aravindhm1068 3 года назад

    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.

  • @bigbangind
    @bigbangind 3 года назад +1

    Nelson is a great teacher. Thanks for the content.

  • @jonathancunanan2490
    @jonathancunanan2490 3 года назад +1

    Learned kubernetes from here! awesome

  • @harrydadson7467
    @harrydadson7467 3 года назад +9

    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

  • @Khushpich
    @Khushpich 4 года назад +2

    Thanks to the both of you, that was brillantly explained.

  • @xjsnjkil2070
    @xjsnjkil2070 3 года назад

    The best docker tutorial I found. Thanks man,

  • @ytlagu2010
    @ytlagu2010 3 года назад

    I went ahead and smashed the like button even if I am into dev-op stuff. Great energy... love it!

  • @KhorshedAlam11
    @KhorshedAlam11 3 года назад +1

    Thanks a million, both of you. Impressive!!!

  • @andrey1de
    @andrey1de 3 года назад

    Awesome and very sympaty .Thank I just luamched the study !!!!

  • @abhishekdanej
    @abhishekdanej 3 года назад +7

    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.

  • @robinhowilson
    @robinhowilson 5 месяцев назад

    Thank you so much for this course.

  • @hassan3kb
    @hassan3kb Год назад

    Thank you for this wonderful course 🙌🙌

  • @shakechen7944
    @shakechen7944 3 года назад

    great,one night four hours finish the course. I would try to review again.really thank you very much.

  • @reek_games
    @reek_games 2 года назад +1

    Great course, very clear and easy to understand

  • @sprintwithcarlos
    @sprintwithcarlos 4 года назад +2

    This is so awesome!!! I’ve been Nana’s vídeos fan since the first watch

  • @serhendiefendi
    @serhendiefendi 4 года назад

    Dehşetül Vahşet bir seri olmuş. 4 saatin hakkını vermişsiniz.

  • @FaithfulAnere
    @FaithfulAnere 3 года назад

    Best clean one i ve seen so far. Good job guys loved it and learnt a lot from it. Cheers

  • @Summer9604
    @Summer9604 3 года назад +12

    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 2 месяца назад

      @@bobarrack same for me

    • @LamNguyen-dy5ep
      @LamNguyen-dy5ep 19 дней назад

      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"

  • @letsspeakbharath
    @letsspeakbharath 4 года назад +6

    Soothing voice 👏🏻👏🏻👏🏻👏🏻👏🏻

  • @jreis78pt
    @jreis78pt 3 года назад +1

    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.

  • @gabrieldoamaralruas6145
    @gabrieldoamaralruas6145 3 года назад

    Thanks a lot for this free content! Congrats on explanations!

  • @anthonyfarias321
    @anthonyfarias321 3 года назад +1

    Thanks for this great course!

  • @abezacbatachikan3684
    @abezacbatachikan3684 3 года назад

    Really a great course, congrats!!! I enjoy each moment, and i understand every concept. I like a lot, thanks

  • @rachakondasantosh8498
    @rachakondasantosh8498 3 года назад

    Nelson explained it really well Thank you mate.

  • @rishab.huihui
    @rishab.huihui 3 года назад

    HOLY MOLY!
    Great content guys. Thanks a lot! :)

  • @bouhamedayman8445
    @bouhamedayman8445 3 года назад

    thanks for the big effort guys

  • @hakimimastor6777
    @hakimimastor6777 4 года назад +13

    Waalaikumsalam brother, and peace for everyone in the world from Malaysia 🇲🇾🌍✌️

  • @prasanthmanimaran7540
    @prasanthmanimaran7540 4 года назад +1

    Wonderful ..... Thank you so much for sharing this ❤❤❤❤❤

  • @吴青昀
    @吴青昀 3 года назад +6

    the pronunciation of "docker" is cute, thank you for the perfect course

    • @z1lla4
      @z1lla4 3 года назад +1

      No problem

  • @snehilvj
    @snehilvj 2 года назад

    Great course, thanks a lot!

  • @anyelovinzen514
    @anyelovinzen514 4 года назад +1

    Excellent movie for today.🔥🔥🔥

  • @waniarifrasool
    @waniarifrasool 4 года назад +23

    وعليكم السلام ورحمة الله وبركاته أخي
    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..

  • @davosandoval
    @davosandoval 3 года назад

    Thanks a lot amigos! Felicitaciones

  • @gabioeste
    @gabioeste 2 года назад +1

    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

  • @mr.mohammadomidkarimy2863
    @mr.mohammadomidkarimy2863 2 года назад

    Walikom Salam Brother, Thank you so much for great Content!

  • @mushtakhussain9017
    @mushtakhussain9017 4 года назад +3

    Walaikumsalam. I just started to learn docker security. Hope this helps me out. Thank you ❤

  • @justinwang4378
    @justinwang4378 2 года назад +4

    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

  • @adamrolczyk7217
    @adamrolczyk7217 2 года назад

    Awesome tutorials, thank you. :)

  • @giovannigiavoni701
    @giovannigiavoni701 3 года назад

    helpful content guys! thank you very much!

  • @alvirarahman1559
    @alvirarahman1559 3 года назад +3

    Walaikum Assalam brother! Thanks so much for this video!

  • @josephmakram4342
    @josephmakram4342 3 года назад

    That the best start for docker thanks a lot for this awesome content

  • @shahriar.shourov
    @shahriar.shourov 3 года назад

    وعليكم السلام ورحمة الله وبركاته
    love from Bangladesh💕❤

  • @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.

  • @readhwolf
    @readhwolf 4 года назад +6

    waealaykum alsalam warahmat allah wabarakatuh, Bro wish you the best

  • @pauldroppie
    @pauldroppie 4 года назад +1

    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.

  • @marcolimache2653
    @marcolimache2653 3 года назад

    Thank you so much for this video.

  • @nacereddinebenmerah3538
    @nacereddinebenmerah3538 7 месяцев назад +1

    Wa Alaikum Assalam Brother

  • @ianyimiah
    @ianyimiah 3 года назад +1

    Really awesome stuff but LTS does not stand for "latest". it stands for "long term support".

  • @MedGa81
    @MedGa81 3 года назад

    Really that's grate! tank you

  • @laurikyttala1563
    @laurikyttala1563 3 года назад

    Many Thanks!

  • @RohitTiwari-mo8mi
    @RohitTiwari-mo8mi 3 года назад

    Great session, learnt a lot 👍

  • @ankitlakum1
    @ankitlakum1 3 года назад

    OP docker 👍 thanks for information

  • @checkout8352
    @checkout8352 3 года назад

    Thanks a lot!

  • @SA-ov6mb
    @SA-ov6mb 3 года назад

    Amazing amazing amazing!!!

  • @joonchilla2871
    @joonchilla2871 3 года назад +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 года назад +1

      thanks a bunch

  • @mahendrajella2268
    @mahendrajella2268 Год назад

    Great Content Team. Can we have a link to Presentation/Document please.

  • @KishanLalBJ
    @KishanLalBJ 4 года назад +1

    I was waiting for this..

  • @pauldroppie
    @pauldroppie 4 года назад +1

    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.

  • @thferreira86
    @thferreira86 3 года назад +1

    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

  • @pisckipratama9529
    @pisckipratama9529 4 года назад +3

    Wa'alaikumsalam, I really enjoy your lectures. Thank you Nelson and Nana

  • @hv3300
    @hv3300 3 года назад

    Great. At 30.11 it should be -p 8080:80 in the screenshot

  • @plamenstanchev21
    @plamenstanchev21 3 года назад

    SUPER !!!!!!

  • @harshadj13
    @harshadj13 3 года назад

    Ahoy, this is a great educational and most practical demonstration of Docker and Kubernetes. Can you also do this for Singularity. Thank you :D

  • @realnycmoments
    @realnycmoments 3 года назад +1

    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.

  • @mekelilyasa9561
    @mekelilyasa9561 4 года назад

    Thanks a lot dude

  • @DevsLikeUs
    @DevsLikeUs 4 года назад

    This is great!

  • @mahammadyaseen4221
    @mahammadyaseen4221 4 года назад +3

    Walykum asslam wa rahamathulahi wa barakathu

  • @aeronjorge98
    @aeronjorge98 4 года назад

    Woah thanks for this!

  • @pycode8058
    @pycode8058 3 года назад +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 10 месяцев назад

      😂😂😂 @sslam ?? Bruh

  • @ioannisventouzis
    @ioannisventouzis 3 года назад

    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

  • @Lampalot
    @Lampalot 2 года назад

    Great course by both of them. Does anyone know where the K8 course is uploaded ?

  • @bobarrack
    @bobarrack 3 года назад +1

    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 года назад +1

      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!

  • @muhammad-s9b5d
    @muhammad-s9b5d 25 дней назад

    Wa Alaikum Assalam Warahmat Ullah Wabarkaat

  • @xBazilio
    @xBazilio 2 года назад +1

    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.

  • @darknigh
    @darknigh 4 года назад +2

    Walaikum assalam bro😍

  • @nohostco
    @nohostco 3 года назад +6

    Ve aleyküm esselam, nice video :)

  • @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

  • @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

  • @jeffkirchoff14
    @jeffkirchoff14 8 месяцев назад

    What is the difference between
    ADD and COPY

  • @artemlobov8254
    @artemlobov8254 3 года назад

    veryvery good, nice and flowy!

  • @atiquechowdhury8910
    @atiquechowdhury8910 4 года назад

    Weehee !! Exactly what I wanted !!

  • @nusantarajaya6869
    @nusantarajaya6869 3 года назад +1

    Waalaikum salam warahmatullahi wabarakatuh my brother

  • @walidkhaled8387
    @walidkhaled8387 3 года назад +1

    Wa 3alykoum salam my brother

  • @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.

  • @АндрейЧерабаев-э1ь
    @АндрейЧерабаев-э1ь 4 года назад +68

    I've just had a micro heart attack after "as-salamu aleikhem" -- I was afraid that video isn't in english XD

    • @ali2538
      @ali2538 4 года назад +2

      It was a bit weird. In all these tutorials and courses I've seen on this channel, this is the first one that the person announces their religion in the beginning.
      PS: not that there is anything wrong with it

    • @Belliger1991
      @Belliger1991 3 года назад +2

      @@felicytatomaszewska so he should die because he feared that he could not understand the content of a video he wanted to watch... How concidered of you

    • @Sam-rd5bo
      @Sam-rd5bo 3 года назад +1

      First of all (Umbar Power) that isn't a nice thing to say.
      Secondly, some people really think Muslims cannot speak English?
      There are like 1.8 billion Muslims, you can find in almost every country.
      So, I'm not surprised at all.

    • @seshs-e
      @seshs-e 3 года назад +6

      such a sneaky way to creep in with some prejudice. andrey, take care of your heart's physical fitness and clear your mind of prejudice. this is a good free resource and amigos' content is on point.

    • @alinawaz4034
      @alinawaz4034 3 года назад +3

      @@ali2538 Bro Assalamu Aleikhem is a greeting it is not announcing your religion.

  • @usmanmunir1559
    @usmanmunir1559 4 года назад +2

    Waalikum assalam!

  • @OnceUponKid
    @OnceUponKid Год назад

    should we apply alpine for product?

  • @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?

  • @RusuTraianCristian
    @RusuTraianCristian 3 года назад +1

    So Docker is basically the advanced hi-tech ship and K8s is the smart manager dealing with logistics and what not.

  • @parastak2469
    @parastak2469 Год назад

    can we also change the port number ?