An Introduction To Docker For Beginners

Welcome back to another video! In this video I am going to be giving you an introduction to Docker and more specifically talk about the difference between Docker and virtual machines! The first part of this video is going to be very face paced where I just explain the fundamentals of Docker and then I will head over to the computer and do a walk-through of the set up and commands! I hope you enjoy!
💻Thanks to Linode for sponsoring this video! Sign up for a FREE Linode account today and get an $100 60 day credit: linode.com/techwithtim
💻 ProgrammingExpert is the best platform to learn how to code and become a software engineer as fast as possible! Check it out here: programmingexpert.io/tim and use code "tim" for a discount!
Install Docker: docs.docker.com/desktop/windo...
Git Bash Download: git-scm.com/downloads
Docker Getting Started (Linode Guide): www.linode.com/marketplace/ap...
⭐️ Timestamps ⭐️
00:00 | Introduction To Docker
00:35 | Linode
01:27 | What Is Docker?
02:17 | Docker vs Virtual Machines
03:32 | Docker Architecture
04:08 | Docker Terminology
05:51 | Docker Setup
06:22 | Linode Setup
10:43 | Running Docker On Linux
11:50 | Basic Docker Commands
15:42 | Building A Docker Image
21:34 | Creating A Custom Docker Image/Container
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
👕 Merchandise: teespring.com/stores/tech-wit...
📸 Instagram: / tech_with_tim
📱 Twitter: / techwithtimm
⭐ Discord: / discord
📝 LinkedIn: / tim-ruscica-82631b179
🌎 Website: techwithtim.net
📂 GitHub: github.com/techwithtim
🔊 Podcast: anchor.fm/tech-with-tim
🎬 My KZread Gear: www.techwithtim.net/gear/
💵 One-Time Donations: www.paypal.com/donate?hosted_...
💰 Patreon: / techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
-Tech With Tim
-Docker for Beginners
-What is Docker?
-Introduction to Docker
-Docker vs Virtual Machines
-Linode
⭐️ Hashtags ⭐️
#TechWithTim #Docker

Пікірлер: 94

  • @TechWithTim
    @TechWithTim2 жыл бұрын

    Hey everyone, glad so many of you are liking the video. Here are a few notes/mistakes that I need to point out. 1. You can use ssh directly from the command prompt (no need for git bash). For some reason I always just use git bash and didn't even realize you could do this from cmd (thanks for letting me know)! 2. You do not need to go through setting up a VPS (on linode) unless you want to try the commands on linux. I figured most people using docker will be using linux and hence the partnership with Linode. 3. If you found any more mistakes please leave them below! I am not perfect and with such a large audience many of you are bound to know things I don't, I always appreciate the feedback :)

  • @danijelapopovichispadani3747

    @danijelapopovichispadani3747

    2 жыл бұрын

    Hi Timm, two small details. 1. I think you unintentionally cut the build command on 18:30 when you edited the video (you execute docker run without building the image). sudo docker build -t bulletinboard . 2. You didn't put the link to the linode guide to the description. I'm not sure to which guide do you refer, so I'd rather let you fix that part. ☺ Kind regards!

  • @faisaltasleemft

    @faisaltasleemft

    2 жыл бұрын

    All ur videos hav v quality content meeting professional level... I learnt alot. Keep it up

  • @dillonbarnes232

    @dillonbarnes232

    2 жыл бұрын

    @@danijelapopovichispadani3747 What would the correct build command be? I tried to do `docker build .` which seemed to work, but then when I run `docker run -p 8000:8080: -d --name bb bulletinboard` it just tells me that it can't find the image.

  • @danijelapopovichispadani3747

    @danijelapopovichispadani3747

    2 жыл бұрын

    ​@@dillonbarnes232 you must pass the -t: sudo docker build -t bulletinboard . The value passed to the -t is the image tag you use when you run the container. You were running `docker build .` without specifying the image tag, so docker didn't know how to find the image you tried to use. Hth

  • @dillonbarnes232

    @dillonbarnes232

    2 жыл бұрын

    @@danijelapopovichispadani3747 Thank you! That worked.

  • @Fergobirck
    @Fergobirck2 жыл бұрын

    Great video. The Docker specific aspects were really well explained, but I think the use of Linode in this case felt quite out of the scope and only made things much more confusing for the uninitiated user, adding an unnecessary layer to the process of explaining Docker. You are setting a up a remote VM, then installing Git to use its MingW Linux shell on Windows to SSH into the Linode Linux environment and then use Docker in it. I hope you can see how confusing this ended up being. Using a regular Windows/OSX/Linux Docker host would be MUCH more clear. I know it was probably a requirement for the Linode ad partnership, but just to let you know...

  • @TechWithTim

    @TechWithTim

    2 жыл бұрын

    Great feedback! I appreciate that and will definitely keep it in mind for next time

  • @AdamMelancon

    @AdamMelancon

    2 жыл бұрын

    @@TechWithTim Fantastic video, although I agree I agree with Fernando. While I was already familiar with all of these concepts, the Linode and git bash parts were just more abstracted layers that were unnecessary for beginners getting into docker itself. I would just start from a fresh command line on a bare bones Linux Ubuntu server install. Then you can follow the installation instructions on dockers website and continue the rest of your video from there.

  • @noahf649
    @noahf6492 жыл бұрын

    A Docker series would be amazing! I've only used Docker in my computer security class, in order to run CTF's. This has taught me more about Docker than the entire semester of that class taught me. All that class taught was how to download the image from the course website, and how to run it on my PC. Even that wasn't even really taught, the prof just had the commands to load and run the images for us to copy and paste. Would love to see more Docker tutorials!

  • @rishabhmishra2249
    @rishabhmishra22492 жыл бұрын

    Man, finally. I really wanted a series about this. Good job man!

  • @jimmylevesque8240
    @jimmylevesque82402 жыл бұрын

    Awesome! I was having trouble setting up a docker container to do model inference for my machine learning project and this is helping so much. Thank you!

  • @razorscythe7258
    @razorscythe72582 жыл бұрын

    hey man, what i coincidence. It was today only that I decided to install docker desktop and now your video has come. just made my day. Keep up the good work. really appreciated.

  • @danijelapopovichispadani3747
    @danijelapopovichispadani37472 жыл бұрын

    Hi Timm, thanks alot for this easy-to-understand tutorial. I'm joining an already functioning programming squad and docker is one of the things I'll definitely use on a daily basis. Being a girl, there are some higher expectations. Your explanation really helped me to get started. 🥰

  • @xwhitelight
    @xwhitelight2 жыл бұрын

    Simple and informative as always. Keep it up, brother!

  • @samdaly1382
    @samdaly13822 жыл бұрын

    Thank you for this! 🙏🏻 I've been meaning to learn docker

  • @TheCarmacon
    @TheCarmacon2 жыл бұрын

    Man I'm gonna buy some merch soon - the knowledge I got from your videos recently enabled me to get promoted. Thank you so much.

  • @taharataminpronoy148
    @taharataminpronoy1482 жыл бұрын

    Thanks man! Really needed this one...

  • @Nathan-ng1kp
    @Nathan-ng1kp2 жыл бұрын

    Tim, how did you know I was getting more interested in app distribution and needed to see this?!?!

  • @martinballa3059
    @martinballa30592 жыл бұрын

    Great video! Please continue with more.

  • @MIDNightPT4
    @MIDNightPT42 жыл бұрын

    I didnt get it for so long but now I do.. You are amazing man!

  • @TomDoesTech
    @TomDoesTech2 жыл бұрын

    Awesome tutorial! Learning Docker has been one of the best things I've done in both improving my development workflow and making my deployments easier.

  • @notyournormaldev1419

    @notyournormaldev1419

    2 жыл бұрын

    Hey I know you you also post good stuff.

  • @TomDoesTech

    @TomDoesTech

    2 жыл бұрын

    @@notyournormaldev1419 Thank you :)

  • @notyournormaldev1419

    @notyournormaldev1419

    2 жыл бұрын

    @@TomDoesTech 😅

  • @waqaspathan3337
    @waqaspathan33372 жыл бұрын

    Wowowowow Tim, you are phenomenal

  • @josephwong2832
    @josephwong28322 жыл бұрын

    great walkthrough

  • @griffinannshual4205
    @griffinannshual42052 жыл бұрын

    Thank you Tim . ❤☺ !!

  • @andynelson2340
    @andynelson23402 жыл бұрын

    Nice docker content, thanks

  • @sumanthmuttuvalli4931
    @sumanthmuttuvalli49312 жыл бұрын

    Thank You So Much . Great Video .

  • @gustavojuantorena
    @gustavojuantorena2 жыл бұрын

    Yes!! Really good topic

  • @geekyprogrammer4831
    @geekyprogrammer48312 жыл бұрын

    Hi Tim! You are doing an amazing job on Solidity tutorials. So I request you to complete the series for it man!

  • @ratneshthakur6776
    @ratneshthakur67762 жыл бұрын

    Tim, please make more videos on it for intermediate and make a video on a complete SaaS project with all thing contained on it, just like a big corporate project.

  • @dopy8418
    @dopy84182 жыл бұрын

    That is exactly what i needed.

  • @federicorabinstein7184
    @federicorabinstein71842 жыл бұрын

    Tim, thank you! Excellent content, as usual. Just a suggestion from my paranoid self: you may want to consider setting up a separate environment for your videos, to avoid showcasing personal details such as your browsing history, password autofills, clipboard contents, desktop contents, existing linodes...

  • @gerardstrik2555
    @gerardstrik25552 жыл бұрын

    Decent! More videos about docker please.

  • @alexandrohdez3982
    @alexandrohdez39822 жыл бұрын

    Nice video 👏👏👏

  • @navaneethk4276
    @navaneethk42762 жыл бұрын

    Very nice video sir

  • @trankhoa2757
    @trankhoa27572 жыл бұрын

    Awesome!

  • @jormawuorio2079
    @jormawuorio20792 жыл бұрын

    Are you serious? I had a junior python developer interview this week, and because of your programming expert course I had just gotten through the first 20 hours or so of it, I knew what decorators are, and got huge points out of it.. After I had gotten a confirmation that ill be getting to at least try out how it will go, I was asked if I knew what docker is, and I had to say that I've heard of it, but didn't really know what it is, and here you are with a video about it! Starting to feel like destiny :D

  • @ravvenhawk1110
    @ravvenhawk11102 жыл бұрын

    Hello Tim thank you very much for your efforts kindly make us another video about the Kubernetes, it will be a complementary course to this video, because as everybody knows Kubernetes and docker are twins, kindly make us this video about the Kubernetes, Thanks

  • @rejathchandran3289
    @rejathchandran32892 жыл бұрын

    much thanks

  • @gzbin365
    @gzbin3652 жыл бұрын

    awesome!

  • @ealrada
    @ealrada2 жыл бұрын

    WOW! -16 degree centigrade! It's really cold in Toronto!!!

  • @Djellowman
    @Djellowman2 жыл бұрын

    Good explanation, good name

  • @iamakash9937
    @iamakash99372 жыл бұрын

    Nice bro 🙂

  • @andrespastorsanchez4315
    @andrespastorsanchez43152 жыл бұрын

    Good video

  • @HerptieDerper
    @HerptieDerper2 жыл бұрын

    Please make this a series

  • @luchinilvp
    @luchinilvp2 жыл бұрын

    Son muy buenos tus videos, e aprendido mucho con tus explicaciones en Flask, pero tengo un problema no e podido usar una app Flask con docker, si pudiera hacer un ejemplo te lo agradecería. Saludos.

  • @AchwaqKhalid
    @AchwaqKhalid2 жыл бұрын

    You and *Net Ninja* launched the same course in the same day 🐳 ⚓

  • @ngnotchouetiam4851
    @ngnotchouetiam4851 Жыл бұрын

    Hi very nice tutorial, and I really understood the use of Docker. Now I want to know if it is possible to host a django website from docker container to Linode, and how exactly can that be archeived, please

  • @liamgaeuman4990
    @liamgaeuman49902 жыл бұрын

    You should make a video on how to go about reading documentation.

  • @zajlord2930
    @zajlord29302 жыл бұрын

    i know this is not the eth vid but if you wanted to have some alert system or whatever where you need the ammount of eth sent and the message attached to it, how would you do it? is there some API for this? would you have to do this through smart contract? best thing i can think of is to use the API you used to subscribe so you can see the emits from smart contract

  • @MangoNutella
    @MangoNutella2 жыл бұрын

    On Windows, I can just use Command Prompt to use SSH.

  • @whylde7834
    @whylde78342 жыл бұрын

    Great video! I would definitely like more content on this subject t. Keep it up!

  • @ArunSharma-wg9xw
    @ArunSharma-wg9xw2 жыл бұрын

    Can you please make a video on Jfrog Docker Challenge?

  • @thepetiteotaku
    @thepetiteotaku2 жыл бұрын

    Do you have to inherit from an existing image to create a new image? If that's the case, how was the first image created?

  • @nedthehead6853
    @nedthehead68532 жыл бұрын

    Can you do a video on Kubernetes?

  • @ZbeastVIP
    @ZbeastVIP2 жыл бұрын

    You should make a video about Kubernetes

  • @abhimanyunegi4382
    @abhimanyunegi43822 жыл бұрын

    nice

  • @jesavius
    @jesavius2 жыл бұрын

    I'm so happy I'm not the only person that questions themselves when spelling requirements.txt.

  • @TechWithTim

    @TechWithTim

    2 жыл бұрын

    Happens Every time… lol

  • @arnavjindal3021
    @arnavjindal30212 жыл бұрын

    Kubernetes next please.

  • @soheibmemes2594
    @soheibmemes25942 жыл бұрын

    good

  • @AnhNguyen-er4dt
    @AnhNguyen-er4dt2 жыл бұрын

    Hi Tim, how can you show the clipboard history? Thanks :)

  • @willcalhoun3297

    @willcalhoun3297

    2 жыл бұрын

    I had the same question. I paused the video and immediately tried to search for how to do that. Is it an additional app?

  • @nitnelavspetorials

    @nitnelavspetorials

    Жыл бұрын

    @@willcalhoun3297 just press Start + V

  • @Terroid
    @Terroid2 жыл бұрын

    Heyo! This video is absolutely fine, but just noticed one problem I had captions on, and I think YT is displaying "Impressive Python Projects" video's captions on this video Other than that, thanks a lot for the video :D

  • @TechWithTim

    @TechWithTim

    2 жыл бұрын

    Just fixed, thank u for pointing that out!

  • @miroslavstojic8044
    @miroslavstojic80442 жыл бұрын

    wow -16 degrees chilly

  • @adriaanvanvliet2531
    @adriaanvanvliet25312 жыл бұрын

    ssh is preinstalled on windows

  • @bhartiwadhwa9241
    @bhartiwadhwa92412 жыл бұрын

    First Comment Hope you will like this tim was literally just watching YOUR KZread video

  • @ryanengyt3449
    @ryanengyt34492 жыл бұрын

    Is someone can tell how to have the same menu to keep in memory the last copy/paste word saw in the video at 15:15? What is the name ?

  • @ricardorqr

    @ricardorqr

    2 жыл бұрын

    I wonder the same. Anyone?

  • @Maik.iptoux
    @Maik.iptoux2 жыл бұрын

    Why gitbash and not simply putty? Or the inbuild wsl

  • @somedudeonyoutubefrfr
    @somedudeonyoutubefrfr2 жыл бұрын

    But why git bash tho? Windows supports ssh via cmd?

  • @huntressartemis9575
    @huntressartemis95752 жыл бұрын

    hello sir, i just want to ask, how do i know when to use { } [ ] ( ) these in python? i watch your videos but i get confused when using these symbols so i end up with trial and error with these

  • @nguyentrananhnguyen7900

    @nguyentrananhnguyen7900

    2 жыл бұрын

    i assume that you don't know how to use list { }: this is dictionary, needed when you have to find specific keys and value with good performance [ ]: this is list, it's the feature rich enumerable that can be used in almost everything related to list ( ): this is tuple, i rarely use this but i use it when the list is a read-only property

  • @huntressartemis9575

    @huntressartemis9575

    2 жыл бұрын

    @@nguyentrananhnguyen7900 thank you sir, this means a lot :)

  • @azizb7476
    @azizb74762 жыл бұрын

    #1

  • @adamstrejcovsky8257
    @adamstrejcovsky8257 Жыл бұрын

    What about RUN DMC lolz

  • @RomaRapoport
    @RomaRapoport2 жыл бұрын

    Fk, Tim and Dockers, xctly when i wanted to learn this part as im missing all the virtualization and cloud stuff from my DEVOPS knowledge

  • @sekiro_19
    @sekiro_192 жыл бұрын

    100 dollar 60day thats good money

  • @thatnubarin
    @thatnubarin2 жыл бұрын

    is it me or its saying -16 C on bottom right

  • @dermenschistweilesglaubtda41
    @dermenschistweilesglaubtda412 жыл бұрын

    I WANT TO HOST MY GTA 5 SERVER, DARKSOULS SERVER, MINCRAAFT SERVER WITH DOCKER, DDEV AND APACHE AND WITH LOCALHOST

  • @henolivares
    @henolivares2 жыл бұрын

    Is there something you don't know? 🤣

  • @foodieustad
    @foodieustad2 жыл бұрын

    First?

  • @dani9609
    @dani96092 жыл бұрын

    First

  • @deepanshusaini3481
    @deepanshusaini34812 жыл бұрын

    How does this guy have 890k subs lol 😂

  • @TomDoesTech

    @TomDoesTech

    2 жыл бұрын

    Becasuse he makes really good tutorials and he's been doing it for a long time

  • @MananGandhi
    @MananGandhi2 жыл бұрын

    I think u have taken some inspiration from fireship. Right?

  • @TechWithTim

    @TechWithTim

    2 жыл бұрын

    For the introduction part yes!

  • @MananGandhi

    @MananGandhi

    2 жыл бұрын

    Hope to see some more videos with this format