Introduction To Docker and Docker Containers

Поділитися
Вставка
  • Опубліковано 31 тра 2024
  • Please support me on Patreon: / thesimpleengineer
    / thesimpengineer / schachte
    ryan-schachte.com
    Don't forget to subscribe! ➨ Website -
    ➨ New Video! - • Docker Client, Images ...
    ➨ / the-simple-engineer-80...
    ➨ Github - github.com/schachte
    ---------------------------------------------------------------
    What is Docker? Docker is a containerized virtual environment that makes it easy to develop, maintain, and deploy apps and services. Get a quick run down in under 10 minutes about Docker.
    We'll bring you through virtual machines, images, and containers

КОМЕНТАРІ • 138

  • @TheSimpleEngineer
    @TheSimpleEngineer  5 років тому +31

    Let me know what you want to learn about Docker!

    • @TheSimpleEngineer
      @TheSimpleEngineer  5 років тому +1

      @J S great questions! I'll keep it in my list of videos to make. It's important to remember that containers are used for a single process. VMs are great for virtualizing entire systems while docker errs more on the side of single applications.

    • @sitontony
      @sitontony 4 роки тому +1

      Good explanation. Can you go over how secure Docker is?

    • @jimo9555
      @jimo9555 3 роки тому

      4:15 _"exploiting namespaces"_ could you explain this more? I'm planning some work using smil2.1 which requires a _namespace_ to work, are these the same thing and if so, how does docker help? Thanks 👍

    • @davidsalamanca9581
      @davidsalamanca9581 2 роки тому

      Limited resources

    • @Minnow7397
      @Minnow7397 Рік тому

      W
      Oh Okay I I’ll at owiwwwokay we are with s IEEE’s

  • @LCC389
    @LCC389 4 роки тому +73

    0:54 VMware
    1:30 VMs more efficient
    2:10 VMs expensive
    2:50 docker
    3:19 portable
    3:30 fast
    4:00 no hypervisor
    4:25 virtualization versus containerization
    6:05 docker deamon
    6:29 images
    7:12 benefits of containers
    7:39 works everywhere
    8:00 dependency management
    8:20 lightweight

  • @PiIsRational
    @PiIsRational 3 роки тому +32

    This "Introduction To Docker and Docker Containers" course is at EXACTLY the correct level. it sets up the context very well.

    • @johnkingshares
      @johnkingshares 2 роки тому

      The history of: Servers > Virtualization > Containers - helped a lot with context.

  • @MrCoffis
    @MrCoffis Рік тому

    Best video explaining what docker is period.

  • @Shane-Singleton
    @Shane-Singleton 5 років тому +83

    Docker basically is virtualization. But the genius is that it cuts out all the guest OS overhead and just virtualizes an app package directly on, yet segregated from, the actual host OS. This saves a TON of disk space, and quite a bit of ram and cpu resources as well.

    • @Shane-Singleton
      @Shane-Singleton 4 роки тому +2

      @Mike Moloch The libraries are in the container with your app.

    • @Shane-Singleton
      @Shane-Singleton 3 роки тому +2

      @Mike Moloch I haven't touched OSX in years so I wouldn't be able to say much about any hidden linux libs or binaries. Best way to think of Docker is similar to Java. IT's basically its own "OS" with a massive host of compatable libraries. You build your app using those libraries or any custom code you want. There is a ton of support for it. My advise would be to watch some "Getting started" videos to see if those answer your specific questions. Docker, basically is OS emulation, it just cuts out the emulation of the hardware layers to get it done. The docker framework basically translates whichever host OS's resources you're running on do use by docker containers on the fly. Cutting out the overhead for the hardware emulation and emulation of an entire guest OS. BAsically you're running a custom kernel.

    • @Shane-Singleton
      @Shane-Singleton 3 роки тому

      @Mike Moloch Well it'll be going through Rosetta 2 here in the next 2 years it seems. lol. But yeah, no free lunches. Merely a slightly less bloated one. And being able to cross-platform something a little easier as a result.

    • @melissac4872
      @melissac4872 Рік тому

      best summarization of the video

  • @alexycox1347
    @alexycox1347 2 роки тому +7

    Best simple Docker explanation I have found on UA-cam. You have the When, Why and How summary. Great job!👍

  • @mrmiked6577
    @mrmiked6577 5 років тому +13

    What you've outlined is a Type 2 Hypervisor, such as Hyper-V, where the virtualization environment is built into the OS (Infrastructure - OS - Hypervisor - VMs - APPS), whereas a Type 1 hypervisor, like VMware ESX, takes over the whole server and allocates space directly to VMs (Infrastructure - Hypervisor - VMs - Apps). Docker is still a better way to go for hardcore development and app deployment, though. Excellent video....I learned quiet a bit about Docker!

  • @mrmertozturk
    @mrmertozturk 5 років тому +15

    Best explanation of the platform I've seen so far, amazing!

  • @87shtaket
    @87shtaket 3 роки тому +4

    I just love that drawing style of yours and how you present the information, huge thanks, and peace!

  • @michaelpeters9551
    @michaelpeters9551 2 роки тому

    This is the best explanation of what docker is anywhere on the internet. Thank you!

  • @levon9
    @levon9 2 роки тому

    Simply fantastic - thanks for the great introduction/conceptual overview.

  • @sairamsubu
    @sairamsubu Рік тому

    Just Wow..!! Very clearly and nicely explained.

  • @OldmateJ80
    @OldmateJ80 5 років тому +5

    Thanks mate, I appreciate your work here.

  • @BetterthanSoil
    @BetterthanSoil 2 роки тому +2

    was very easy to understand!

  • @MrVimalraina
    @MrVimalraina 2 роки тому

    explained in a very simple way with enough details to get started, thanks for your effort!!

  • @vikranthaldavnekar8266
    @vikranthaldavnekar8266 2 роки тому +1

    You are the boss man, such a simple yet a very clear explanation!!. Did not find it elsewhere. Thanks a lot.

  • @sachinkarve3673
    @sachinkarve3673 4 роки тому +1

    You truly are a "SIMPLE" engineer. best explanation so far

  • @hlumelabongobi3933
    @hlumelabongobi3933 4 роки тому

    I'm so glad I found you and your channel. Thank you for making this awesome material 😘😍. Love from South Africa!

  • @Aarmaxian
    @Aarmaxian 4 роки тому +1

    Just the simple explanation I was looking for. Thanks.

  • @rimantasmalevanovas2758
    @rimantasmalevanovas2758 3 роки тому

    I was looking for explanation video to introduce my friend to containerisation. This. Is. PERFECT.

  • @genkiferal7178
    @genkiferal7178 2 роки тому

    great job making it simply to understand. thanks.

  • @aayeshazia693
    @aayeshazia693 2 роки тому

    Great introductory video about Docker :)

  • @andrearamirez722
    @andrearamirez722 Рік тому

    Great beginner video thank you!!

  • @somen2u
    @somen2u 4 роки тому

    Indeed simple way of explaining but highly impactful 👍

  • @yoericktv9610
    @yoericktv9610 3 роки тому

    This was such a good video.
    I learned that docker is like virtualization 2.0
    and it kicks butt

  • @marcoflores1764
    @marcoflores1764 4 роки тому +1

    That made so much sense. Thank you!

  • @baxter6504
    @baxter6504 5 років тому

    Excellent job. Keep up the good work! 👍

  • @donaldkennedy7993
    @donaldkennedy7993 2 роки тому

    superb - simple description and comparison , perfect:)

  • @jesusromero9167
    @jesusromero9167 2 роки тому

    The explanation I was looking for! Thank you!

  • @rambabukatta3055
    @rambabukatta3055 4 роки тому

    Nicely explained. Thank you!

  • @ynny7885
    @ynny7885 3 роки тому

    Well explained, I really like the assets and drawbacks of both technologies presented. Thank you :)

  • @vuksanobradovic5221
    @vuksanobradovic5221 2 роки тому

    Amazing explanation. Thank you very much!

  • @SabinCheruvattil
    @SabinCheruvattil 4 роки тому

    Very well explained and easier to understand. Thanks :)

  • @jasonwiesner5539
    @jasonwiesner5539 3 роки тому

    Great breackdown! Thanks

  • @latifaodumosu6922
    @latifaodumosu6922 3 роки тому

    This was really helpful. Thank you so much

  • @Codeytek
    @Codeytek 5 років тому +1

    Awesome Explanation

  • @hdna2004
    @hdna2004 4 роки тому

    Great and simple explanation.

  • @tisaac2142
    @tisaac2142 3 роки тому

    Very helpful. Thank you.

  • @rongal5830
    @rongal5830 3 роки тому

    Best explanation yet! Thanks!

  • @victoriabressan4557
    @victoriabressan4557 3 роки тому

    Very clear. Thank you!

  • @ifeoluwaajumobi3974
    @ifeoluwaajumobi3974 3 роки тому

    Great Explanation!!!!

  • @damianoschirinzi4317
    @damianoschirinzi4317 2 роки тому

    Really helpful! Thank you my guy

  • @AndrewMcJannettSmith
    @AndrewMcJannettSmith 3 роки тому

    Great video and very useful information, I had not realized how Docker containers worked until you explained.. Keep up the great work and you now have another subscriber ;o)

  • @SimpleKidsLearning
    @SimpleKidsLearning 3 роки тому

    Simply Superb

  • @rishabh8808
    @rishabh8808 3 роки тому

    excellent explanation.

  • @alcap6145
    @alcap6145 3 роки тому

    Wow. It's so simple! Thank to you. Big Al aka RokkittBass

  • @lokeshdwivedi5713
    @lokeshdwivedi5713 4 роки тому

    Awesome explanation 👌👍

  • @saikrishnavinjamuri4058
    @saikrishnavinjamuri4058 2 роки тому

    This is what I want no nonsense just definition

  • @killaurnext
    @killaurnext 3 роки тому

    Great video, ty!

  • @OGSoundFX
    @OGSoundFX 3 роки тому

    Thanks this was very helpful!

  • @stevenreubenstone8833
    @stevenreubenstone8833 4 роки тому

    great video, great teaching

  • @dleivam
    @dleivam 4 роки тому +2

    awesome video, well explained and easy to follow.. I didn't know anything about docker and now I know what it is... like neo in the matrix... "I know kung fu" :)

  • @renovatiovr
    @renovatiovr 4 роки тому +3

    It has to be said that in case of virtualization, quite often there is no OS sitting on the infrastructure, but rather the hypervisor behaves as the base

  • @monday6740
    @monday6740 5 років тому +1

    2:20 A lot of virtual (VM) usage is such that only ONE guest is running in the hosts system, because : virtualisation is a nice trick to run ANOTHER OS in expensive hardware (that is bought already anyway). Quite some old Unix and Windows servers, now run Linux that way. For as long as the harware is supported, and then they run Linux on something else.

  • @laymanstechworld3224
    @laymanstechworld3224 4 роки тому

    nice presentation.

  • @suchismitab07
    @suchismitab07 4 роки тому

    Needed this, thanks

  • @frostsmaker8966
    @frostsmaker8966 2 роки тому

    I used VMWare and VirtualBox. I haven't tried the first type of virtualization which use the Hypervisor as top-level and not operating system first. But, I can assure you that Containerization like docker is the way to go. I realized this after I experienced a problem with python environments. Yes, you can have multiple environments but for me, I want to completely isolate the python version, and the python environment and I want a way to make it works on either machine.
    Really, docker is a way to go. You won't regret it.

  • @GigiAmorronso
    @GigiAmorronso 3 роки тому

    well explained! thanks

  • @MuhammadKhan-yl7mt
    @MuhammadKhan-yl7mt 3 роки тому

    WoW, how tremendously you have explained it (without the chunky fat marketing jargon). I'm so impressed and subscribed.
    Oh, thank you.

    • @ImASwiftie100
      @ImASwiftie100 3 роки тому

      hahahaha "(without the chunky fat marketing jargon)"

  • @kildino2636
    @kildino2636 3 роки тому

    Really good video

  • @jephnelson5408
    @jephnelson5408 4 роки тому

    Just found this channel. I smacked the subscribe button.

  • @levimoraesdesouza2035
    @levimoraesdesouza2035 4 роки тому

    Good job!

  • @damiencarr31
    @damiencarr31 3 роки тому +1

    2:49 docker
    5:47 containers
    6:25 images
    6:30 containers

  • @FahmiEshaq
    @FahmiEshaq 4 роки тому

    Well explained

  • @whitefederico
    @whitefederico 3 роки тому

    Dude you're awesome. Thanks

  • @g3nz0d
    @g3nz0d 4 роки тому

    Good prezo. Thanks.

  • @MyChannel706
    @MyChannel706 3 роки тому

    Wow what an expert instructor. Best explanation I have seen about virtualization and containers

  • @YannMetalhead
    @YannMetalhead 2 роки тому

    Good video.

  • @grahamt19781
    @grahamt19781 3 роки тому

    Thank you

  • @Victoria-jq9xz
    @Victoria-jq9xz 3 роки тому

    thanks for this!

  • @varamanikya
    @varamanikya 4 роки тому

    Simple n Superb

  • @andyhawaii2819
    @andyhawaii2819 Рік тому

    Kernel is a part of the OS not separate. Servers run multiple Applications, not just one.
    The container concept is not new; mainframes did the same thing. I started IT in 1979, lots of experience in this area.

  • @a.j.scalzitti1929
    @a.j.scalzitti1929 5 років тому +5

    Docker seems very cool, nice video. I need to say VMWare was/is cool but it wasn't a mind blower, we have had virtualization in computers for decades before that.

    • @someguysomewhere100
      @someguysomewhere100 4 роки тому

      Yes and you had to buy a mainframe to do that! Virtualisation took mainframe machine isolation and put in on affordable servers.

    • @a.j.scalzitti1929
      @a.j.scalzitti1929 4 роки тому +1

      @@someguysomewhere100 And Unix systems, and AS/400 so already affordable for decades

    • @someguysomewhere100
      @someguysomewhere100 4 роки тому

      A.J. Scalzitti - as/400’s was never affordable for most companies. It was VMware that made it possible for 99% of companies to use it.

  • @RandomShowerThoughts
    @RandomShowerThoughts 5 років тому

    great video

  • @AhmedKamal-ps9rq
    @AhmedKamal-ps9rq 4 роки тому

    thanks so much gr8 video

  • @demohub
    @demohub 4 роки тому

    Awesome!

  • @todortodorov940
    @todortodorov940 3 роки тому +1

    Sorry my ignorance, but why does a docker image "has less dependencies" and "is easier to deploy" than a virtual machine? My experience with correctly configured VM infrastructure is that you just pick your host and deploy the files. If you use SAN or other central storage, you only need to push the configuration. Where is a configured virtual machine more difficult to deploy than a docker image?

  • @NathanBudd
    @NathanBudd 4 роки тому +1

    First video of yours I've come across, and it's really well explained. If the rest of the content is like this... consider your subscriber count +1!

  • @SnoDawg
    @SnoDawg 3 роки тому

    Can you tell me what microphone and audio setup you were using to make this video. Thanks very much.

    • @TheSimpleEngineer
      @TheSimpleEngineer  2 роки тому

      Blue Yeti mic recorded via Adobe Audition, lots of post-editing

  • @stevenshrii
    @stevenshrii Рік тому

    Can you put a docked into a virtualbox?

  • @chrismagnemi6829
    @chrismagnemi6829 Рік тому

    Can you define some terms used like "kernal" (~ 2:15 ) and "image" (~ 3:15)?

  • @raivatshah7781
    @raivatshah7781 Рік тому

    Great explanation! Thanks so much!

  • @taimoor722
    @taimoor722 4 роки тому

    Can we run whole OS using docker ? Like run ubuntu on window as a app

  • @zeroice00
    @zeroice00 4 роки тому +2

    As Casey Doe pointed out below, you have the diagram showing the Hypervisor upside down if you are referring to VMware (Type 1). It will be accurate if you are referring to Hyper-V though (Type 2)
    In VMware, Infrastructure/Servers/Hosts -> Hypervisor -> VMs -> Guest OS installed on the VMs.
    Otherwise, great video on the topic.

  • @ElboxD
    @ElboxD 2 роки тому

    Was virtualization actually more expensive than physical severs? Minute 02:40 I can't get my mind around it...

  • @asishreddy7729
    @asishreddy7729 3 роки тому

    Amazing explanation, but can you clarify what you mean by. "image" in the video? You mention it multiple times but I can't grasp exactly what an image is and what it does.

  • @shrinidhig3672
    @shrinidhig3672 5 років тому +1

    very well explained. thank you :-)
    \

  • @subramanianbalagopalan2866
    @subramanianbalagopalan2866 3 роки тому

    can you also create a video on Kubernetes please

  • @kalyncook3393
    @kalyncook3393 2 роки тому

    How well is Docker supported with Ubuntu and Red Hat? I have constant issues with VMware on Kubuntu and Fedora. If this is a good alternative, that would be great!

  • @Kleiman4
    @Kleiman4 4 роки тому

    Thank you so much, I was trying to learn about Docker and your video, by far, it's the easiest to understand

  • @tremolony4924
    @tremolony4924 Рік тому

    wow

  • @Pumie03
    @Pumie03 5 років тому

    Spring Boot... that acts like a container of sorts, right? How do you integrate the two - is such a thing possible? Ultimately, I want Tomcat to run the show.

  • @MikaelMurstam
    @MikaelMurstam 4 роки тому +1

    but if two docker images uses the same dependencies, they will not be shared but duplicated. So you are basically solving the problem by using up more memory.

  • @caseydoe1137
    @caseydoe1137 4 роки тому +4

    Not quite fair at 5:53, that's a type 2 hypervisor. VMware is type 1.

    • @CanadianKB
      @CanadianKB 4 роки тому

      Right? And If 100% downtime is more important than resources I still prefer VM and complete isolation.

    • @bertnijhof5413
      @bertnijhof5413 3 роки тому

      For modern virtualization software the difference between type 2 and type 1 hypervisors is old and irrelevant. All type 2 hypervisors are tightly integrated into the Host OS and all type 1 hypervisors have integrated OS functionality for memory management, scheduling, networking, device drivers and disk access. There is no performance difference anymore and currently the only remaining difference is, whether the Host can run own applications or not. However VMware can run containers, so you could say, that it is also running applications. The applications on Linux use more and more snaps and flatpacks and that are also containers, so even that difference is fading slowly away.

  • @KeithDavey2014
    @KeithDavey2014 4 роки тому +2

    IBM has been doing virtual machines on the mainframe since the 70's

    • @TheSimpleEngineer
      @TheSimpleEngineer  4 роки тому +2

      Yup! Chroot on UNIX machines in the 70's fronted this effort early on. There have been many iterations of the concept over the years.

    • @gi82much
      @gi82much 3 роки тому

      @@TheSimpleEngineer I was around when ChRoot came out in 1979 and it merely changed the root directory --cool, but not really virtualizing anything. Seven years *before* ChRoot, IBM had virtualization that "lied" to software and pretended there was physical hardware that wasn't really there. To me, that's a big difference. I coded in machine language and assembly/assembler on Motorola, Zilog (remember them?), and IBM System/370 back then, and the notion of virtualization was a pretty cool trick, much more sophisticated than simple directory switching.

    • @TheSimpleEngineer
      @TheSimpleEngineer  3 роки тому

      @@gi82much Cool story, thanks for sharing!

  • @KnowledgeResourceKR
    @KnowledgeResourceKR 2 роки тому

    For a more detailed understanding, you can watch the video in the link given below, which illustrates the fundamental concepts around containerization along with Linux containers, docker, and Kubernetes. #lxd #lxc #docker #kubernetes
    ua-cam.com/video/TlqD6UXdPHM/v-deo.html

  • @tenminutetokyo2643
    @tenminutetokyo2643 3 роки тому

    The more important question is why do we overcomplicate everything?

  • @MrKnocik
    @MrKnocik 4 роки тому

    Why do you write 'E' in some places and 'Ɛ' in other?

    • @MrKnocik
      @MrKnocik 4 роки тому

      @Toby Bigdog not relevent, just bothers me. Never seen that before. Ever.

  • @call_of_duty1327
    @call_of_duty1327 4 роки тому

    K8???

  • @WorstDeveloper
    @WorstDeveloper 3 роки тому

    "VMs are expensive"
    Yet we, as the developers, have to pay more for hosting Docker containers than just buying a VM.