Docker For Beginners: From Docker Desktop to Deployment
HTML-код
- Опубликовано: 26 сен 2024
- Learn Docker with this highly practical tutorial.
A year ago I tried to learn Docker but just wasn't ready for it. The tutorials I tried to follow were too comprehensive and "theory-based" for a first go at it. A year later I looked back and decided I would make a tutorial that would have been much more beneficial for me then.
In this video, we'll take a fun dive into Docker, learn some definitions, dockerize some apps, push them to Docker Hub, and deploy them to Digital Ocean.
** Grab your FREE one month of Skillshare: geni.us/DqB7m
** Learn Computer Science Fundamentals: geni.us/nRc5
** Learn Algorithm Fundamentals: geni.us/DB373
THE DEFINITIONS
1:56 - What is Docker?
2:08 - What is a Docker Image?
3:00 - What is a Container?
3:17 - What's the benefit?
4:13 - Virtual Machines vs Container
PRACTICAL EXAMPLES
6:50 - Download Docker Desktop
8:26 - Docker Images
10:00 - Let's Build a React App Docker Image
24:35 - Let's Run the React App in a Container
27:16 - Show Logs / Debug
27:40 - Jump inside of your container and view/edit files
28:38 - What is Docker Compose?
28:50 - Run WordPress in a container via Docker Compose
33:48 - A local volume to view/edit our wp-content folder
41:03 - Push our React App to Dockerhub
45:03 - Deploying our React App to Digital Ocean
43:15 - Deploying our WordPress App to Digital Ocean
RUclips Stats React App Source Files - github.com/rod...
Further Viewing:
Manage Docker Easily With VS Code: • Manage Docker Easily W...
What is Kubernetes and How To Learn It: • What is Kubernetes and...
Udemy Course Suggestions:
My Current Favorite Udemy Course: geni.us/58VWIe
Best Docker Course: geni.us/os0F
Best Kubernetes Course: geni.us/fuxSZ
*** Join the Slack Community to Level Up! ***
👊 bit.ly/2NPZOQW
*** DIGITAL OCEAN - LINK FOR FREE $100 TO SPEND ***
bit.ly/2OMM2jd
*** Get ONE FREE Month on Skillshare. Learn Anything (preferably code 😁) ***
🎓 geni.us/DqB7m
*** Learn to Code Blueprint 6 Month ***
🎓 geni.us/HoswN2
*** FREE EBOOKS including the freelancing ebook mentioned ***
📘 bit.ly/2jnH2DP
*** SUBSCRIBE FOR WEEKLY VIDEOS ON WEB DEVELOPMENT / CODING/ CONQUERING LIFE ***
👉 bit.ly/33APfdw
LET'S CONNECT!
📰 LinkedIn ➔ / travisdot. .
📷 Instagram ➔ / travisdotmedia
📱 Facebook ➔ / travisdotmedia
🐦 Twitter ➔ / travisdotmedia
🙋🏼♂️ Website ➔ travis.media
#docker #learndocker #dockertutorial #dockerforbeginners
👊 Join the Travis Media Community to Level Up! -- travis.media/community
Fresh install big sur, is docker a solution to install node npm etc globally and not run across the permissions issues when settings up a dev environment? Just wondering if this is something that'll replace that original install headache for noobs, or something that happens in addition to that original setup? Thanks I'm super confused, if I can avoid that whole homebrew headache I've went through and end up having to uninstall reinstall node and npm etc. Thanks
Tyle razy mnie oszukaliście skąd mam wiedzieć że znowu szykujecie kolejne pułapki nie możecie przepalić że jestem Polakiem mówiłem wam nie walcię w huja zemną. Wystarczyło mnie zapytć to bym wam powiedział że mam pierwszego. Tylu specjalistów rozkminia mi to zajęło 5 minut. Myślcie że nie wiedziałem gdzie co mam nie chciłem tam zaglądać bo wiedziałem że jest tego dużo i będzie właśnie to co robicie. Niechcenia z takimi ludźmi nic robić nie chce frunąć do Ameryki. Szkoda mi że nie wiedziałem o tej fundacji mogliście powiedzieć nic bym nie zatrzymał.
For anyone following this today, the first line in the dockerfile for the youtube-app needs to be
FROM node:13.12.0-stretch
. There were security fixes in newer versions of node which break this app.
This might well be the finest job done on a "docker explain" in the history of explaining Docker !! I am all set to go!
Thank you for the awesome job you are doing !!!
This is THE best Docker introduction out there, and there are a lot.
Brilliant.
This is an absolutely perfect presentation on Docker. The level of content and how it is presented is second to none. The time index for the video is a very nice touch. I'm a definite subscriber. Thanks for the video!
"I pulled some images and then I was like "where is my image?" " LOL that was exactly me - one of the hardest things for me to understand.
Spent all day yesterday scratching my head, while simultaneously trying to learn docker and makeing various flavours of baboon-like faces . At the end of the day i was left with a blank stare on my face feeling frustrated. After a bad night's sleep and two cups of coffe I stumbled upon this video and that changed everything. I can only speak for my self, but in my opinion your easygoing, inspiring and easy to understand approach to teaching makes this by far the best docker tutorial I've fond so far. Thanks a lot!!
Honestly, this is the best tutorial of Docker i have seen. Perfectly explained and clear.
Dear Travis. I just deployed my first docker container to my affordable DigitalOcean droplet, and are now ready for developing and some demoing/showcasing using my favorite tech stack provided by images from Docker Hub. I now have a basic, working knowledge of Docker and now I feel ready to dive in to some of the more refined details of this technology and to use it in future projects.
This is all all thanks to this great step-by-step explanation and demonstration. You really manage to take something that is dauntingly complex and make it seem less intimidating! Thank you so much for this wonderful guide! You did a fantastic job with it!
The best Docker tutorial so far
Best docker video ever.
Must say, its been a long time since I've viewed an in depth video of this quality. Thank you.
Exactly. Thank you for dedicating your time
Sir, your a nerd, and I mean it as a complement to your knowledge but your also a rare kind of nerd that can explain something very pedagogically which is very very rare.
I agree with Angry Bird. I have been studying, making installs, taking everything down to host machine with completely uninstalled Docker, bring it all back up again, doing a variety of Drupal GitHub and GitLab Docker clones, bringing then up locally in containers, etc. Learned more from your video, especially with the Visual Studio UI into doing all this, in an hour or two of watching and rewatching then I have in like a month of prior attempts of learning from reading and other videos. You are an excellent teacher in tone, style, pace, logical flow, ... Thanks so much
After 59 minutes and 29 seconds, there was no lie in the title. This is the man everyone cross-eyed on Docker needed and he came thru!!!
fantastic tutorial. Even almost 2 years passed, this is still the best docker tutorial I've found on youtube.
Thanks Dian
@@TravisMediawant to be freinds I work love to lean coding
Truly the best docker tutorial on youtube
fantastic tutorial. i actually understand what the hell docker is now. i do think to truly appreciate this tool you have to have lived through the late 90's all the way up to a few years ago and actually have been involved in what it takes to do an application build, deal with CM and software dependencies, write multiple run scripts for various platforms and environments, and painstakingly create entire home-grown applications that run on servers to manage app versions, configurations, compatibility, even hardware load to some extent. believe me, docker may not do every single cool trick that's ever been invented -- of course, how could it -- but it appears to do 90% or more, and that means developers actually working on application code and not spending 50% of their time babysitting production.
THE BEST Docker video on YT. I love how you explained each of those Dockerfile commands. Every other video seems to skip that.
Thankew, It was neither too complicated nor too easy. Just perfect.
By far the best intro to Docker video I've found
When I started this video I didn't have a Digital Ocean account, before the end of the video not only do I have one, but there are also 100 dollars attached to it.
Let the games begin.
Good content (excellent I should say). A good sign of a good tutor is when the student is enthusiastic to get started with assignments.
I don't know where you've been hiding but, loved the way you relay information and the speed that you go about it. Gained a Sub. I might have found a mentor!!!!
21:26 - "Should be done in a minute."
*added 1638 packages from 787 contributors and audited 931370 packages in 415.937s*
anyways, love the video it helped a lot
That overview first/details then reflection: right! That's a valid experience based teachers skill. Another reflection: each viewer has to know the things that you are talking about. The prerequisites for doing that is knowing bash, knowing apt, knowing VSC (which I essentially don't), knowing wordpress to the extent that the setup settings are known. If your viewers know all that, they may understand your lecture, otherwise not. Bash has to be assumed: otherwise demonstrating docker would be essentially meaningless. But apt? What does it do? What's the file working space on the host for your docker image?
Subscribed. Five/five start video. I just spent money for some online training on Udemy and this video is a million times better. You should be a trainer.
You have the vocal cadence of an old blues guitar player :P This is helping me for an upcoming job, so thanks!
Always good to listen to the voices of blues guitarists before job interviews!
Beautifully done. You have a gift. How-to videos on youtube have helped me a lot, but rarely are they done so well. Thank you.
One of the best docker tutorial, you made it easy and clear to understand docker :)
Best Docker tutorial on RUclips
It is so clear and well organized. thanks
I always subscribe to a channel when I am convinced. Hence, I did. This video is really helpful for my project am fighting with.
Thanks you're a life savior. Greetings from France!
I am exactly where you were a yr. ago...SO I'm looking forward to being learnt.
Went all over this on my own. I can only say now, that this video is very helpful!
I was afraid to learn docker but with your tutorial you make me excited to learn more about Docker. please show him your love like the video and to benefit other people also. much respect bro.
awesome practical explanation Travis...It made a mainframe engineer work with Docker!!!!
Glad to hear!
You should continue making tutorial. Amazing on how I am not skipping single second of this video. Good job man.
Extremely intuitive video Travis. Just what I needed. Thank You !!
You have a very clear and engaging manner of speaking and explaining things. Trying to place the accent...I'm guessing texas. Anyway, thanks for doing this video.
Best RUclips video on Docker for Beginners I've seen yet! Thanks, Travis!!
Great Video Travis, I loved it how you showed everything with a live example and was very time efficient. you didnt waste a single second and every thing you explained in the video is useful.
Not even on the end, but already wanted to say as a beginner. This was excactly what I needed to quick start!. Thanks a lot!
Thank you Travis. I like how you do not make a huge deal out of it which makes it easier to understand by beginners like me.
Glad to hear. Thanks.
Amazing explanation. Thanks so much for sharing your wisdom!!🤩
Really insightful course on Docker
Your way of teaching is amazing. Its simple clear and anyone can understand. Keep up your good work..
Excellent stuff to cover the whole lifecycle from basics to deploymement. Thanks.
Best tutorial I have seen for docker. This is amazing and thanks for the video!
Dear Travis, You really made it looks easy...Thank You!
Excellent! you deserve million thanks and subscribers 😍
Great video. Very clear explanation. It's the best docker video tutorial I've found. Thanks for letting me discover all the features. Docker is a very useful tool.
Thank you for such a nice, human-friendly explanation and demonstration.
super and absolutely perfect presentation on Docker . Like it
Well detailed and insightful. Thanks!
Awesome video! I have been sysadmin for 16 years or so and never used docker until now, and the thing was like a weird monster!..it just didn't make sense at all, thanks for the vid, I just ran my API/mysql/httpd on docker now.
Docker beginners tutorial much appreciated
A really great video with a concise radio-like voice, thank you.
Many Thanks for the video. I appreciate the info and detail.
Never a day goes by where I am not disappointed in docker. A simple idea at its core. If you use it daily and build a tool kit round it, then as per your video - one year later you can explain where you are at, and what your tooling is. It is in the as complex as other tooling. It actually requires a high skillset to deploy, secure, backup. And it requires like many CLI based world kits, third party tooling and heavy usage to get to speed and stay at speed.
All the same, thanks for the video. Useful stuff.
VMs are used for compatibility and provisioning for open ended development where you may need to install new things.
Essentially to firewall stuff so it can be isolated from the host OS and customized heavily.
Docker is used for provisioning for use, for incremental service driven development, where you are preparing for deployment. And where the OS is definitely known, fixed & singular. The main benefit being the ability to stack/combine containers. No VM can do that, you can't just merge VMs. There is no equivalent to the Dockerfile. You have to use installers.
They overlap somewhat. If you have a choice, try Docker first.
great video with lots of explanations, thx!
Your channel is great man, kudos!
Great tutorial.
Thank you!
Perfect intro! Just what I needed to get started... Thanks!
only watched 60 seconds so far, and already i love this video
My second traversy media channel I am going to love 😍
Yeah I know it's Travis here ❤️
Travis, I love you brother, you just make it simple
Very nice, you define words and you show how to do it!, very nice I like it!!, Thanks
This video was brilliant and direct in an hour
Travis: You are all right, thanks.
Awesome job explaining Docker. Really appreciate your taking the time to walk us through the RUclips git...
awesome video. Wish i had this a year ago
Fabulous video. Thank you.
I'm utterly exhausted by the never-ending changes in modern development. Taking on docker today, guess kubernetes is next. Just as you feel like you're mastering the tech, it's all scrapped and the circus moves on to the next thing! It really was simpler in the 80s, kids!
Thank you for this great video!
Please can you make another video with a production project. And maybe more in dept about the development workflow (OTAP) with Git.
I hope to see that soon!
Thanks Bart! I’ll make that video soon. Thanks for the request.
Clean and Easy to follow. Thank you Travis
Definitely the best docker tutorial!
Yo Travis, I learned more about Containers in your 60 minutes than spending two days on other tutorials. You are so cool because you gave the tools you used to do what you did on this video. You opened my eyes. I just started Docker and K8s on Monday and your YT made it all understandable in 60 Mins!! Fan for life How do I get more? Need that K8s tutorial.
14 min in and everything makes perfect sense. What incredible insight it must take to know exactly what a person new to docker needs to be told in order to learb
Excellent! I appreciate that you added the WP example as that demonstrated the primary value for me :)
This is a fantastic introduction/tutorial on Docker - thank you, Travis!
1:00 'A year ago I tried looking into this and found it really confusing!'
3:30 "So what's the benefit? Simplicity!"
It's so simple that it becomes complicated to handle in our heads.
Thanks Travis. Been trying to learn this without much help. I really need that light bulb/connect-the-dots moment to get me over the hump.
Thank you Travis for sharing your knowledge. Fantastic explanation with project.
Woooow best docker tutorial! Thnks!!!
finally found the tutorial that doest sounds like music theory
Learning docker has been a treat while watching your video! Thank you so much for creating and sharing with us! Looking forward for more videos on DevOps.
Thank you for sharing it. Great content!
Most precise video i 've ever watched for "Docker 101" staff
Hi Trevis, definetively you exude knowledge, besides that you teach with the precision of a neurosurgeon ...straight to the point!! Congratulations!!! and Thanks a lot!
Man i found myself exactly where you've been. Courius about this stuff but just didn't get it quite right...
So well explained even from a newbe like me!
Thank you :D
I keep receiving an error about ERR_OSSL_EVP_UNSUPPORTED so I can't run it successfully and follow along the tutorial. I understand the code in Git lab is from 3 years ago so a lot of the packages are likely outdated. Would appreciate a fix.
Thank you Travis
Nice tutorial!! I didn't feel lost at any point, that's rare :) thx sir
Brilliant. Just what I needed to get started
Thank you so much
Yes! I like that energy! Explained simply total awesomeness from the beginning
Nice an easy video to follow,,, truly appreciated!!
very clear explaination
You are a very good teach!
Amazing Tutorial! Congratulations! Learned Docker so fast that I could not believe it was possible. Keep up with the great work!
Very nice and helpful video on Docker. Thanks for providing this!