Тёмный

Docker For Beginners: From Docker Desktop to Deployment 

Travis Media
Подписаться 257 тыс.
Просмотров 733 тыс.
50% 1

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
RU-vid 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

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 497   
@TravisMedia
@TravisMedia 3 года назад
👊 Join the Travis Media Community to Level Up! -- travis.media/community
@svnbit8408
@svnbit8408 3 года назад
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
@kamilbednarek9781
@kamilbednarek9781 3 года назад
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ł.
@mastersquinch
@mastersquinch 2 месяца назад
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.
@oseitutu598
@oseitutu598 3 года назад
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 !!!
@go-live
@go-live 3 года назад
This is THE best Docker introduction out there, and there are a lot. Brilliant.
@markthrasher4548
@markthrasher4548 3 года назад
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!
@blackwersus
@blackwersus 3 года назад
"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.
@Barbastarkk
@Barbastarkk 3 года назад
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!!
@elkenoseteolvida
@elkenoseteolvida 3 года назад
Honestly, this is the best tutorial of Docker i have seen. Perfectly explained and clear.
@johndoe9450
@johndoe9450 3 года назад
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!
@tuscala
@tuscala 4 года назад
The best Docker tutorial so far
@flyerbumm
@flyerbumm 5 месяцев назад
Best docker video ever.
@Hawtsauce
@Hawtsauce 4 года назад
Must say, its been a long time since I've viewed an in depth video of this quality. Thank you.
@trendx285
@trendx285 3 года назад
Exactly. Thank you for dedicating your time
@savashzaynal6502
@savashzaynal6502 3 года назад
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.
@emmonspatzer5402
@emmonspatzer5402 3 года назад
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
@jesavius
@jesavius 4 года назад
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!!!
@dianwang1501
@dianwang1501 2 года назад
fantastic tutorial. Even almost 2 years passed, this is still the best docker tutorial I've found on youtube.
@TravisMedia
@TravisMedia 2 года назад
Thanks Dian
@JustinMacri007
@JustinMacri007 Год назад
@@TravisMediawant to be freinds I work love to lean coding
@ieronim272
@ieronim272 6 месяцев назад
Truly the best docker tutorial on youtube
@wkdj2522
@wkdj2522 3 года назад
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.
@roshanthomas9805
@roshanthomas9805 3 года назад
THE BEST Docker video on YT. I love how you explained each of those Dockerfile commands. Every other video seems to skip that.
@fahadkhanchughtai3279
@fahadkhanchughtai3279 3 года назад
Thankew, It was neither too complicated nor too easy. Just perfect.
@bneeland1
@bneeland1 2 года назад
By far the best intro to Docker video I've found
@bwandesky
@bwandesky 4 года назад
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.
@TheKingofparis148
@TheKingofparis148 3 месяца назад
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!!!!
@julius_trifinity
@julius_trifinity 3 года назад
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
@rursus8354
@rursus8354 2 года назад
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?
@James-sc1lz
@James-sc1lz 4 года назад
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.
@hitensharma259
@hitensharma259 3 года назад
Thank u for explainig it so well.I have looked at so many vids but everyone just speaks mumbo jumbo.Thx a lot!
@jupyter_core9411
@jupyter_core9411 4 года назад
You have the vocal cadence of an old blues guitar player :P This is helping me for an upcoming job, so thanks!
@nateo7045
@nateo7045 4 года назад
Always good to listen to the voices of blues guitarists before job interviews!
@ITSALLFYA
@ITSALLFYA 3 года назад
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.
@theragavelan
@theragavelan 2 года назад
One of the best tutorial for docker I have ever seen. Thanks a lot. Please add Wordpress tag also to this video. This should rank high for Wordpress docker searches. Thanks
@eswara6964
@eswara6964 3 года назад
One of the best docker tutorial, you made it easy and clear to understand docker :)
@xiaoleijiang6962
@xiaoleijiang6962 3 года назад
Best Docker tutorial on RU-vid
@haipingwang7075
@haipingwang7075 3 года назад
It is so clear and well organized. thanks
@tesfayeyimam3700
@tesfayeyimam3700 Год назад
I always subscribe to a channel when I am convinced. Hence, I did. This video is really helpful for my project am fighting with.
@izem9652
@izem9652 2 года назад
Thanks you're a life savior. Greetings from France!
@frankmacias7244
@frankmacias7244 Год назад
I am exactly where you were a yr. ago...SO I'm looking forward to being learnt.
@JoshyHJoshy
@JoshyHJoshy 2 года назад
Bless you, This was the best and clearest docker tutorial ever.
@TheMegaEzio
@TheMegaEzio 3 года назад
Went all over this on my own. I can only say now, that this video is very helpful!
@shalu1433
@shalu1433 4 года назад
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.
@sivas170
@sivas170 3 года назад
awesome practical explanation Travis...It made a mainframe engineer work with Docker!!!!
@TravisMedia
@TravisMedia 3 года назад
Glad to hear!
@liehian3395
@liehian3395 3 года назад
You should continue making tutorial. Amazing on how I am not skipping single second of this video. Good job man.
@arupeshroychowdhury6584
@arupeshroychowdhury6584 2 года назад
Extremely intuitive video Travis. Just what I needed. Thank You !!
@midget2000x
@midget2000x 2 года назад
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.
@hexelcolorado6275
@hexelcolorado6275 3 года назад
Best RU-vid video on Docker for Beginners I've seen yet! Thanks, Travis!!
@imranrentia
@imranrentia 4 года назад
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.
@bartbtsful
@bartbtsful 3 года назад
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!
@_radix_
@_radix_ 2 года назад
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.
@TravisMedia
@TravisMedia 2 года назад
Glad to hear. Thanks.
@danielribes5433
@danielribes5433 7 месяцев назад
Amazing explanation. Thanks so much for sharing your wisdom!!🤩
@automation2testing290
@automation2testing290 3 года назад
Really insightful course on Docker
@swathiallu9819
@swathiallu9819 3 года назад
Your way of teaching is amazing. Its simple clear and anyone can understand. Keep up your good work..
@pascalmunerot
@pascalmunerot 2 года назад
Excellent stuff to cover the whole lifecycle from basics to deploymement. Thanks.
@w2kmedia920
@w2kmedia920 2 года назад
Best tutorial I have seen for docker. This is amazing and thanks for the video!
@mihirbhatt3322
@mihirbhatt3322 2 года назад
Dear Travis, You really made it looks easy...Thank You!
@lifeok6188
@lifeok6188 3 года назад
Excellent! you deserve million thanks and subscribers 😍
@mattiap4043
@mattiap4043 4 года назад
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.
@sumacshekar6111
@sumacshekar6111 4 года назад
Huh You made my life easy, thank you Travis.
@davorbervida5023
@davorbervida5023 4 года назад
Same :D
@xcage90
@xcage90 4 года назад
Thank you for such a nice, human-friendly explanation and demonstration.
@raimundasrimkus6252
@raimundasrimkus6252 3 года назад
super and absolutely perfect presentation on Docker . Like it
@kiruieli254
@kiruieli254 8 месяцев назад
Well detailed and insightful. Thanks!
@ocramas
@ocramas 3 года назад
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.
@sierrawhiskey5155
@sierrawhiskey5155 2 года назад
Docker beginners tutorial much appreciated
@iqwebserve3973
@iqwebserve3973 4 года назад
A really great video with a concise radio-like voice, thank you.
@AdmV0rl0n
@AdmV0rl0n 2 года назад
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.
@crhu319
@crhu319 3 года назад
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.
@andreyreznik4992
@andreyreznik4992 4 месяца назад
great video with lots of explanations, thx!
@leftoverture1976
@leftoverture1976 Год назад
Your channel is great man, kudos!
@karlok.9631
@karlok.9631 4 года назад
Great tutorial. Thank you!
@blangersUTube
@blangersUTube 4 года назад
Perfect intro! Just what I needed to get started... Thanks!
@AliAliOxenFree
@AliAliOxenFree 2 года назад
only watched 60 seconds so far, and already i love this video
@hanzlaahabib
@hanzlaahabib 3 года назад
My second traversy media channel I am going to love 😍
@hanzlaahabib
@hanzlaahabib 3 года назад
Yeah I know it's Travis here ❤️
@shahanahmedkhan6101
@shahanahmedkhan6101 3 года назад
Travis, I love you brother, you just make it simple
@Jay-wg8xd
@Jay-wg8xd 2 года назад
Very nice, you define words and you show how to do it!, very nice I like it!!, Thanks
@n3x4r3
@n3x4r3 4 года назад
This video was brilliant and direct in an hour
@TheLalotoNikon
@TheLalotoNikon 3 года назад
Travis: You are all right, thanks.
@nickjoseph2711
@nickjoseph2711 3 года назад
Awesome job explaining Docker. Really appreciate your taking the time to walk us through the RU-vid git...
@sklise1
@sklise1 3 года назад
awesome video. Wish i had this a year ago
@chairmakerPete
@chairmakerPete 3 года назад
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!
@Simon-hw3um
@Simon-hw3um 3 года назад
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
@bartdenhoed-nl
@bartdenhoed-nl 4 года назад
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!
@TravisMedia
@TravisMedia 4 года назад
Thanks Bart! I’ll make that video soon. Thanks for the request.
@jasonchancellor3766
@jasonchancellor3766 4 года назад
Very helpful. Thanks for the video!
@girishgis1
@girishgis1 3 года назад
Clean and Easy to follow. Thank you Travis
@aleksandarpetrovic2632
@aleksandarpetrovic2632 4 года назад
Definitely the best docker tutorial!
@wescooper1614
@wescooper1614 3 года назад
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.
@spragucm
@spragucm 3 года назад
Excellent! I appreciate that you added the WP example as that demonstrated the primary value for me :)
@briangass8722
@briangass8722 3 года назад
This is a fantastic introduction/tutorial on Docker - thank you, Travis!
@ferb1131
@ferb1131 3 года назад
1:00 'A year ago I tried looking into this and found it really confusing!' 3:30 "So what's the benefit? Simplicity!"
@benurm2390
@benurm2390 3 года назад
It's so simple that it becomes complicated to handle in our heads.
@aafjeyakubu5124
@aafjeyakubu5124 3 года назад
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.
@sirishreddyg
@sirishreddyg Год назад
Thank you Travis for sharing your knowledge. Fantastic explanation with project.
@alejandrogalinamata2234
@alejandrogalinamata2234 3 года назад
Woooow best docker tutorial! Thnks!!!
@bluesky_10
@bluesky_10 3 года назад
finally found the tutorial that doest sounds like music theory
@family.vibes.unleashed
@family.vibes.unleashed 3 года назад
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.
@LearningSFR
@LearningSFR 2 года назад
Thank you for sharing it. Great content!
@kinderdll3246
@kinderdll3246 3 года назад
Most precise video i 've ever watched for "Docker 101" staff
@BMESSIASMONTEIRO
@BMESSIASMONTEIRO 3 года назад
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!
@emanuelechiarello1403
@emanuelechiarello1403 2 года назад
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
@adrianjason13
@adrianjason13 8 месяцев назад
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.
@livebits1
@livebits1 4 года назад
Thank you Travis
@MegaArti2000
@MegaArti2000 4 года назад
Nice tutorial!! I didn't feel lost at any point, that's rare :) thx sir
@ym2239
@ym2239 3 года назад
Brilliant. Just what I needed to get started Thank you so much
@alexjswill
@alexjswill 3 года назад
Yes! I like that energy! Explained simply total awesomeness from the beginning
Далее
The intro to Docker I wish I had when I started
18:27
Просмотров 110 тыс.
Docker Tutorial for Beginners
50:38
Просмотров 39 тыс.
Ozoda & Dilime - Lada
00:36
Просмотров 1,4 млн
AWS Networking Basics For Programmers | Hands On
27:14
Просмотров 128 тыс.
18 Weird and Wonderful ways I use Docker
26:18
Просмотров 150 тыс.
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
Learn Docker in 1 Hour | Full Docker Course for Beginners
1:27:53
Using docker in unusual ways
12:58
Просмотров 449 тыс.
Ozoda & Dilime - Lada
00:36
Просмотров 1,4 млн