Docker Crash Course #4 - Parent Images & Docker Hub

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2022
  • In this docker tutorial you'll learn about docker hub & how to pull down parent images.
    🐱‍💻 Access the course files on GitHub:
    github.com/iamshaunjp/docker-...
    🐱‍💻 Node.js Course:
    On Net Ninja Pro - netninja.dev/p/node-js-crash-...
    On TH-cam - • Node JS Tutorial for B...
    🐱‍💻 Modern JavaScript Course:
    On Net Ninja Pro - netninja.dev/p/modern-javascr...
    On Udemy - www.thenetninja.co.uk/udemy/m...
    On TH-cam - • Modern JavaScript Tuto...
    🐱‍💻 React Course:
    On Net Ninja Pro - netninja.dev/p/build-websites...
    On Udemy - www.thenetninja.co.uk/udemy/r...
    🐱‍💻 VS Code - code.visualstudio.com/
    🐱‍💻 Docker Hub - hub.docker.com/
    🐱‍💻 Docker docs - docs.docker.com/

ความคิดเห็น • 78

  • @mm-wn7fw
    @mm-wn7fw ปีที่แล้ว +69

    For those getting immediate exit "bug", please run this command:
    docker run -d -it node:
    thx mark Ritchie

  • @markritchie7044
    @markritchie7044 ปีที่แล้ว +28

    I can see the docker image start then exits immediately. Seems to be happing to others in the comment as well. My Ubuntu install fires up and got completion messages on the other video install steps.
    ****************FIXED************************
    Used docker run -d -it node to get this to run in a container.. -it = interactive terminal??

  • @HammadHassan-nd3qd
    @HammadHassan-nd3qd 5 หลายเดือนก่อน +11

    if conaitner exit immediately with cotnainer terminal dsiabled then just run "docker run -d -it node" in power shell. it will create a new container with runinng status. delete previous one then.

    • @wilraul9695
      @wilraul9695 5 วันที่ผ่านมา

      thanks for the tip, it worked, do you know why the previous container fails?

  • @SudiptaAdak-vu3su
    @SudiptaAdak-vu3su 2 ปีที่แล้ว +7

    Ninja master CI/CD course please?

  • @EnesKab
    @EnesKab 2 ปีที่แล้ว +6

    Hey Shaun. That's an amazing explanation for Docker newbie just like me so far. Can't wait to see the other episodes of the series. Thank you !

  • @bensonyeboah297
    @bensonyeboah297 2 ปีที่แล้ว

    @The Net Ninja, your explanation of docker is best honestly,

  • @andrewramirez1293
    @andrewramirez1293 ปีที่แล้ว +1

    This series has been so helpful!

  • @adimardev1550
    @adimardev1550 ปีที่แล้ว +6

    i dont know why my running containers keep exiting after got started for a second.

    • @KamalSingh-zo1ol
      @KamalSingh-zo1ol ปีที่แล้ว +1

      Same, did you find solution.

    • @adimardev1550
      @adimardev1550 ปีที่แล้ว +3

      @@KamalSingh-zo1ol yeap, the app has crashed. we can see it in the logs. you might want to emplement the right way to build your docker image specifically.

    • @ethanendures
      @ethanendures ปีที่แล้ว +2

      @@adimardev1550 docker run -d -it node

  • @ridl27
    @ridl27 2 ปีที่แล้ว +1

    your explanation of docker is so good! :) ty.

  • @user-qc2pl1nq7q
    @user-qc2pl1nq7q 9 หลายเดือนก่อน +1

    Watched mosh series. But your series is far MORE MORE AMAZING AND BETTER

  • @boku00
    @boku00 2 ปีที่แล้ว

    Loving this series my friend.

  • @asigari0711
    @asigari0711 2 ปีที่แล้ว

    Love this! Would you ever consider a recoil js for state management course?

  • @EmilYOo0
    @EmilYOo0 2 ปีที่แล้ว

    Your are amazing teacher. don't stop. ever!

  • @agun21st
    @agun21st 2 ปีที่แล้ว

    Nice examination sir. waiting for next lessons

  • @haseebahmed4740
    @haseebahmed4740 2 ปีที่แล้ว

    best series
    waiting for complete course

  • @dejuanclark4163
    @dejuanclark4163 2 ปีที่แล้ว

    Wow. I was coming to Net Ninja to recommend he make a tutorial series for Docker and what do you know lmao 🤣. Awesome. Net Ninja ftw

  • @osherezra8460
    @osherezra8460 2 ปีที่แล้ว

    Awesome as alwaysss

  • @manishchandra6889
    @manishchandra6889 ปีที่แล้ว

    for node image latest which linux distro is it going to use?

  • @azizullah410
    @azizullah410 5 หลายเดือนก่อน

    Hey Shaun
    I have a question.
    What would be the parent image for MERN App?

  • @edwingarcia5043
    @edwingarcia5043 ปีที่แล้ว +2

    00:58, as far as I understand Docker, images don't contain an OS, but rather just the "file system" environment of, let's say, a Linux distribution, for example, an Ubuntu version 22.04 parent image might contain the file system of a fresh Ubuntu Installation. The OS of the host machine (the machine where the Docker Engine is installed) is being used.
    Let's see another example, the image `golang:1.19-alpine` contains file system (the executables, directories, etc) of the Linux distribution **Alpine**, plus a Go v1.19 installation, so that you can execute your Go application.
    Well, that's how I understand it, now, let's keep watching :D

    • @paskuda_sutulaya
      @paskuda_sutulaya 4 หลายเดือนก่อน

      Thanks! I was confused a bit by the statement that "the parent image has the lightweight OS" while the container runs on the host OS, but now everything is clear 👍

  • @AitHajar_00
    @AitHajar_00 10 หลายเดือนก่อน +1

    when i try to pull the node image i get this error ' unauthorized: authentication required. '

  • @user-hm8kj8is8q
    @user-hm8kj8is8q 6 หลายเดือนก่อน

    perfect as always 👏

    • @NetNinja
      @NetNinja  6 หลายเดือนก่อน

      Thank you so much 😀

  • @nadavnesher8641
    @nadavnesher8641 5 หลายเดือนก่อน

    Brilliant!

  • @user-nr3ye8qd1i
    @user-nr3ye8qd1i 4 วันที่ผ่านมา

    On what basis do you decide which node image you are going to select for your application ?

  • @arkimphiri
    @arkimphiri 2 ปีที่แล้ว

    You are the best. Please a Ruby on Rails Course

  • @matthewpaolini
    @matthewpaolini ปีที่แล้ว +3

    For some reason, the docker image starts then exits immediately. I've been searching for help on this topic but don't know enough about it.

    • @markritchie7044
      @markritchie7044 ปีที่แล้ว +3

      add the -it option to docker run

    • @matthewpaolini
      @matthewpaolini ปีที่แล้ว +3

      @@markritchie7044 That worked from command line. How do I get it to work from Docker Desktop like he did?

    • @pankajdharmik1306
      @pankajdharmik1306 10 หลายเดือนก่อน

      @@matthewpaolini got any solution??

  • @mohammadruhulamin5991
    @mohammadruhulamin5991 6 หลายเดือนก่อน

    you make everything water!

  • @HoodlumMedia
    @HoodlumMedia 2 หลายเดือนก่อน

    OHMYGOD all this time and i can just... drop those commands into any command shell. lol. I was spending ages trying to find out where to open a terminal.

  • @mohamedyoussef8835
    @mohamedyoussef8835 ปีที่แล้ว

    Awesome tutorials ++++++++++++++++++++++++++++ Thank you.

  • @rowan7366
    @rowan7366 ปีที่แล้ว

    Request courses for docker with kubernetes and skaffold

  • @lexyu9693
    @lexyu9693 ปีที่แล้ว +1

    why I docker pull node finished then use Dokcer Desktop images node select run, when I click container start then status immediately exited? not running

    • @ahahahaha-kf4xe
      @ahahahaha-kf4xe ปีที่แล้ว

      no virtualization may be. hard maybe

    • @oliversaxon8656
      @oliversaxon8656 ปีที่แล้ว

      I get the same - did you figure this out?

    • @lexyu9693
      @lexyu9693 ปีที่แล้ว

      no, but use another official image it works, like nginx or hello-world, I don't have a clue, stuck here.

    • @festus-kogo
      @festus-kogo ปีที่แล้ว +3

      I used docker run -d -it node to get this to run in a container

  • @praveenpallaganijp236
    @praveenpallaganijp236 2 ปีที่แล้ว

    waiting for the next video

  • @nithinkamineni9392
    @nithinkamineni9392 ปีที่แล้ว

    My Docker Containers Exiting immediatly as soon as click run on my NodeJs Image. any fix?

    • @tarun3dadlani
      @tarun3dadlani 3 หลายเดือนก่อน

      run the image using: docker run -d -it {image_name}
      I found this solution in the comments section but I am wondering how in the tutorial the image is running using the GUI of the docker but on our machine it is not

  • @bensonyeboah297
    @bensonyeboah297 2 ปีที่แล้ว

    ninjaaaaaaaaaaaa!!!!!!!!!!!!!!!!!!!

  • @manoj-k
    @manoj-k 2 ปีที่แล้ว

    🔥🔥🔥

  • @muskaan7895
    @muskaan7895 2 ปีที่แล้ว +1

    Can u pls make a playlist on data structures and algorithms in java?

  • @AlexanderHariri1984
    @AlexanderHariri1984 5 หลายเดือนก่อน

    Is that a british accent?

    • @NetNinja
      @NetNinja  5 หลายเดือนก่อน

      It most certainly is!