Docker Crash Course #4 - Parent Images & Docker Hub

  Рет қаралды 102,410

Net Ninja

Net Ninja

2 жыл бұрын

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 KZbin - • 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 KZbin - • 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 Жыл бұрын
For those getting immediate exit "bug", please run this command: docker run -d -it node: thx mark Ritchie
@mikleta
@mikleta Жыл бұрын
This comment should be pinned!
@weizhang4059
@weizhang4059 Жыл бұрын
agreed
@usamahussain3413
@usamahussain3413 9 ай бұрын
Thank you
@ikresimir9364
@ikresimir9364 8 ай бұрын
Thank you!
@serhiikhrapin5024
@serhiikhrapin5024 7 ай бұрын
thanks!
@markritchie7044
@markritchie7044 Жыл бұрын
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??
@andreisolero192
@andreisolero192 Жыл бұрын
YO THANKS!!!!
@dane676
@dane676 Жыл бұрын
Thank you :D
@festus-kogo
@festus-kogo Жыл бұрын
Thanks
@jtaylor8606
@jtaylor8606 Жыл бұрын
Thanks
@ludovitvendrics122
@ludovitvendrics122 Жыл бұрын
Thanks
@HammadHassan-nd3qd
@HammadHassan-nd3qd 5 ай бұрын
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 Күн бұрын
thanks for the tip, it worked, do you know why the previous container fails?
@EnesKab
@EnesKab 2 жыл бұрын
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 !
@SudiptaAdak-vu3su
@SudiptaAdak-vu3su 2 жыл бұрын
Ninja master CI/CD course please?
@andrewramirez1293
@andrewramirez1293 Жыл бұрын
This series has been so helpful!
@ridl27
@ridl27 2 жыл бұрын
your explanation of docker is so good! :) ty.
@bensonyeboah297
@bensonyeboah297 2 жыл бұрын
@The Net Ninja, your explanation of docker is best honestly,
@boku00
@boku00 2 жыл бұрын
Loving this series my friend.
@EmilYOo0
@EmilYOo0 2 жыл бұрын
Your are amazing teacher. don't stop. ever!
@user-qc2pl1nq7q
@user-qc2pl1nq7q 9 ай бұрын
Watched mosh series. But your series is far MORE MORE AMAZING AND BETTER
@adimardev1550
@adimardev1550 Жыл бұрын
i dont know why my running containers keep exiting after got started for a second.
@KamalSingh-zo1ol
@KamalSingh-zo1ol Жыл бұрын
Same, did you find solution.
@adimardev1550
@adimardev1550 Жыл бұрын
@@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 Жыл бұрын
@@adimardev1550 docker run -d -it node
@agun21st
@agun21st 2 жыл бұрын
Nice examination sir. waiting for next lessons
@osherezra8460
@osherezra8460 2 жыл бұрын
Awesome as alwaysss
@haseebahmed4740
@haseebahmed4740 2 жыл бұрын
best series waiting for complete course
@asigari0711
@asigari0711 2 жыл бұрын
Love this! Would you ever consider a recoil js for state management 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
@nadavnesher8641
@nadavnesher8641 5 ай бұрын
Brilliant!
@manishchandra6889
@manishchandra6889 Жыл бұрын
for node image latest which linux distro is it going to use?
@edwingarcia5043
@edwingarcia5043 Жыл бұрын
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 👍
@user-hm8kj8is8q
@user-hm8kj8is8q 6 ай бұрын
perfect as always 👏
@NetNinja
@NetNinja 6 ай бұрын
Thank you so much 😀
@azizullah410
@azizullah410 5 ай бұрын
Hey Shaun I have a question. What would be the parent image for MERN App?
@arkimphiri
@arkimphiri 2 жыл бұрын
You are the best. Please a Ruby on Rails Course
@AitHajar_00
@AitHajar_00 10 ай бұрын
when i try to pull the node image i get this error ' unauthorized: authentication required. '
@mohamedyoussef8835
@mohamedyoussef8835 Жыл бұрын
Awesome tutorials ++++++++++++++++++++++++++++ Thank you.
@user-nr3ye8qd1i
@user-nr3ye8qd1i 14 сағат бұрын
On what basis do you decide which node image you are going to select for your application ?
@mohammadruhulamin5991
@mohammadruhulamin5991 6 ай бұрын
you make everything water!
@praveenpallaganijp236
@praveenpallaganijp236 2 жыл бұрын
waiting for the next video
@matthewpaolini
@matthewpaolini Жыл бұрын
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 Жыл бұрын
add the -it option to docker run
@matthewpaolini
@matthewpaolini Жыл бұрын
@@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??
@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.
@rowan7366
@rowan7366 Жыл бұрын
Request courses for docker with kubernetes and skaffold
@lexyu9693
@lexyu9693 Жыл бұрын
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 Жыл бұрын
I used docker run -d -it node to get this to run in a container
@manoj-k
@manoj-k 2 жыл бұрын
🔥🔥🔥
@bensonyeboah297
@bensonyeboah297 2 жыл бұрын
ninjaaaaaaaaaaaa!!!!!!!!!!!!!!!!!!!
@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
@AlexanderHariri1984
@AlexanderHariri1984 5 ай бұрын
Is that a british accent?
@NetNinja
@NetNinja 5 ай бұрын
It most certainly is!
@muskaan7895
@muskaan7895 2 жыл бұрын
Can u pls make a playlist on data structures and algorithms in java?
@nibrasmuhammed5105
@nibrasmuhammed5105 2 жыл бұрын
😐
@ridl27
@ridl27 2 жыл бұрын
no
@pikachu5223
@pikachu5223 2 жыл бұрын
Na
@ethanendures
@ethanendures Жыл бұрын
use rust programming language 🦀
Docker Crash Course #5 - The Dockerfile
15:03
Net Ninja
Рет қаралды 105 М.
Docker Crash Course #2 - Installing Docker
7:34
Net Ninja
Рет қаралды 130 М.
Don’t take steroids ! 🙏🙏
00:16
Tibo InShape
Рет қаралды 72 МЛН
Teenagers Show Kindness by Repairing Grandmother's Old Fence #shorts
00:37
Fabiosa Best Lifehacks
Рет қаралды 46 МЛН
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 23 МЛН
Omega Boy Past 3 #funny #viral #comedy
00:22
CRAZY GREAPA
Рет қаралды 16 МЛН
Learn Docker in 7 Easy Steps - Full Beginner's Tutorial
11:02
Fireship
Рет қаралды 1,8 МЛН
Docker Compose in 12 Minutes
12:00
Jake Wright
Рет қаралды 1,2 МЛН
Docker Crash Course #12 - Dockerizing a React App
10:18
Net Ninja
Рет қаралды 112 М.
Bootstrap Icons (Hindi)
4:32
The Curated UX
Рет қаралды 8 М.
Making Simple Graphical Linux Distro from Scratch
17:19
Nir Lichtman
Рет қаралды 49 М.
Riverpod Crash Course #3 - Providers
5:48
Net Ninja
Рет қаралды 2,6 М.
Customize Dev Containers in VS Code with Dockerfiles and Docker Compose
6:16
Docker Crash Course #7 - Starting & Stopping Containers
12:02
Net Ninja
Рет қаралды 69 М.
Don’t take steroids ! 🙏🙏
00:16
Tibo InShape
Рет қаралды 72 МЛН