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/
For those getting immediate exit "bug", please run this command:
docker run -d -it node:
thx mark Ritchie
This comment should be pinned!
agreed
Thank you
Thank you!
thanks!
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??
YO THANKS!!!!
Thank you :D
Thanks
Thanks
Thanks
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.
thanks for the tip, it worked, do you know why the previous container fails?
Ninja master CI/CD course please?
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 !
@The Net Ninja, your explanation of docker is best honestly,
This series has been so helpful!
i dont know why my running containers keep exiting after got started for a second.
Same, did you find solution.
@@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.
@@adimardev1550 docker run -d -it node
your explanation of docker is so good! :) ty.
Watched mosh series. But your series is far MORE MORE AMAZING AND BETTER
Loving this series my friend.
Love this! Would you ever consider a recoil js for state management course?
Your are amazing teacher. don't stop. ever!
Nice examination sir. waiting for next lessons
best series
waiting for complete course
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
Awesome as alwaysss
for node image latest which linux distro is it going to use?
Hey Shaun
I have a question.
What would be the parent image for MERN App?
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
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 👍
when i try to pull the node image i get this error ' unauthorized: authentication required. '
perfect as always 👏
Thank you so much 😀
Brilliant!
On what basis do you decide which node image you are going to select for your application ?
You are the best. Please a Ruby on Rails Course
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.
add the -it option to docker run
@@markritchie7044 That worked from command line. How do I get it to work from Docker Desktop like he did?
@@matthewpaolini got any solution??
you make everything water!
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.
Awesome tutorials ++++++++++++++++++++++++++++ Thank you.
Request courses for docker with kubernetes and skaffold
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
no virtualization may be. hard maybe
I get the same - did you figure this out?
no, but use another official image it works, like nginx or hello-world, I don't have a clue, stuck here.
I used docker run -d -it node to get this to run in a container
waiting for the next video
My Docker Containers Exiting immediatly as soon as click run on my NodeJs Image. any fix?
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
ninjaaaaaaaaaaaa!!!!!!!!!!!!!!!!!!!
🔥🔥🔥
Can u pls make a playlist on data structures and algorithms in java?
😐
no
Na
use rust programming language 🦀
Is that a british accent?
It most certainly is!