Docker in 100 Seconds

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • 🐳 Docker is a required skill for almost every developer in today's world. Learn the basics of Dockerfiles, images, and containers in 100 seconds. fireship.io
    Docker Docs docs.docker.com/
    #docker #dev #100SecondsOfCode
    Install the quiz app 🤓
    iOS itunes.apple.c...
    Android play.google.co...
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    My VS Code Theme
    Atom One Dark
    vscode-icons
    Fira Code Font
  • НаукаНаука

Комментарии • 388

  • @hnasr
    @hnasr 4 года назад +2517

    I can't imagine the amount of work you put in these videos to condense a very complex subject into a 100 seconds video. Just amazing.

  • @ZachHixsonTutorials
    @ZachHixsonTutorials 3 года назад +30

    Instructions unclear; stuck in Suez Canal

    • @MrBerryK
      @MrBerryK 4 месяца назад +2

      That was fixed, now stuck in Baltimore.

  • @mmmike3426
    @mmmike3426 4 года назад +1000

    I send these to my team whenever they come out, the insight/time is absolutely insane.

    • @calebmcnevin
      @calebmcnevin 4 года назад +13

      Exactly this. So concise and illuminating!

  • @CodingCatDev
    @CodingCatDev 4 года назад +385

    I am pretty sure that Jeff has hacked my email , every time I am looking at a subject his 100 seconds hits and it is spot on for an overview that I need. 😉Love it!!

    • @Zihad
      @Zihad 4 года назад +7

      oh man, I think it's starting to happen to me too. I just started exploring Docker and here he is, with Docker in 100 seconds. amazing...

    • @igitego
      @igitego 3 года назад +1

      Google's targeted ads.

    • @-0-__-0-
      @-0-__-0- 2 года назад

      Yeah me too. Its starting to feel a bit scary.

  • @janpawedwa4590
    @janpawedwa4590 4 года назад +284

    I've taken a docker course some time ago, and the only thing I remember is that their mascot is a turtle... I need to refresh my memory, huh...

  • @DreadKyller
    @DreadKyller 4 года назад +145

    Docker has over the last few years become easily one of my favorite tools. I enjoy working with docker so much compared to the less cloud-agnostic ways. Most cloud providers allow you to create images from VMs and spin multiple instances up, but Docker is cloud agnostic and makes these tasks much more enjoyable when you learn it. The fact that Docker is used extensively by Kubernetes which is another one of my favorite tools, just makes it that much better.

    • @cesarlorenzo8289
      @cesarlorenzo8289 3 года назад

      THnaks for your opinnion. Can you please explain what Kubernetes does and what is it? Would appreciatte it ;)

  • @jasonl8391
    @jasonl8391 4 года назад +50

    Now every time you show code snippet, I will always see you doing CTRL Z. 😂

  • @ziggyjuarez8544
    @ziggyjuarez8544 4 года назад +34

    Me: what's docker
    Teacher: it's a container...moving on now.

  • @Chiefsosa17
    @Chiefsosa17 4 года назад +43

    You should do a video on error handling. I'm really curious to see your practices on it.

  • @riddixdan5572
    @riddixdan5572 4 года назад +38

    can't wait for the "how to dockerize node and deploy" video, really looking forward to it.

    • @DreadKyller
      @DreadKyller 4 года назад +10

      I do this about once a week at my job, dockerizing a node.js app with CI/CD for it. Once you figure it out once, most Node apps can be dockerized almost with copied code and maybe a few tweaks. For most node applications it's as simple as "from , add , run npm install, possibly run a build via npm, set some environment variables, and set a command to run your node app." If you don't need the node project files for your app, you can build the app first then add those built files to the container.

    • @ram12393
      @ram12393 4 года назад

      DreadKyller bbb

  • @starstheengine
    @starstheengine 2 года назад +37

    Docker is probably the most life-changing tool I've used in my life so far. It makes deployment as easy as running it locally.

    • @Walter_
      @Walter_ Год назад +1

      O thats really true, i forgot how hard learning deployment was

    • @seansingh4421
      @seansingh4421 5 месяцев назад +1

      Unless you have really shit documentation and you run it on wsl, then you’d wanna kill the docker

  • @Bitrey
    @Bitrey 4 года назад +27

    How can your timing be so perfect? I wanted to learn Docker, and my favourite RUclipsr just made a Docker in 100 Seconds :)

  • @akashkumar_ks
    @akashkumar_ks 4 года назад +20

    You deserve every like you get and more. Your content is always precise and so informative. Keep up the good work!

  • @aakashyadav8327
    @aakashyadav8327 4 года назад +12

    This channel is my first step whenever I want to explore something.

  • @quintinmakwe176
    @quintinmakwe176 4 года назад +13

    IMO what makes your teaching awesome is that it's very relatable. You take abstract concepts and use more relatable illustrations. Thank you!

  • @Robert-ht5kd
    @Robert-ht5kd Год назад +1

    What does it mean only Operating System is virtualized? I still don't know what is the difference between Virtual Machine and Docker.

  • @besjansejrani1880
    @besjansejrani1880 4 года назад +5

    Great explanation Jeff, I know it's short but maybe would have added that Docker is Kernel dependent. Linux containers run only on hosts with Linux kernel, and Windows containers run only with windows kernel.

  • @shubhranildutta9564
    @shubhranildutta9564 4 года назад +6

    I kinda look forward to watching your videos. I've seen very few RUclips channels with high-quality content ( i.e. content minus the bs ) and yours is definitely one of them. I'll be supporting your channel is every way I can. Keep making such high-quality videos. Kudos to you and Fireship. ♥
    Love from India,
    True Fanboy!

  • @neverping
    @neverping 2 года назад +1

    Just being a bit picky, at 00:21 you say that the hardware is simulated. The reality it is emulated.
    A 'hardware/software' simulation just show to the user what would be an expected result by simulating the result, not exactly running an operation. An example of simulation is to build the look and feel of Windows 95 with CSS/JS where users can simply click and execute Minesweeper game. Although the user is playing Minesweeper as if he/she/they were using Windows 95, the whole experience is simulated. You cannot install programs on a Windows 95 with CSS/JS. It simply doesn't work. You RENDER a 'pre-built' experience.
    When it comes to emulation, the whole experience will be translated as closed as it if was the real 'hardware/software'. For instance, the DOSBOX project emulates not only the MS-DOS as well as the underlying hardware. You can actually install Sam & Max CD, set your soundcard as SoundBlaster AWE 32 and have MIDI blowing up on your computer with no worries. For the game, the sound is being outputted by a 1995 soundcard, where in the reality there's a virtual driver that bridges this experience from DOSBOX to the actual soundcard on the underlying HOST OS, which can be Windows, Linux, Android, or MacOS for example. You can install any DOS game and have the full experience as if you're running a 199x computer.

  • @dhyanais
    @dhyanais 4 года назад +3

    Ha, I watched it in 1.25 speed so for me it was Docker in 80 seconds :)

  • @r0nni34
    @r0nni34 4 года назад +5

    me : who just started web dev .
    fireship: 100 sec of docker
    me :(have no clue tf is that) hmm intresting...

    • @juliankandlhofer7553
      @juliankandlhofer7553 4 года назад

      personal experience: learn webdev well first. docker is nice but not necessary.
      trust me you'll save a lot of headache when trying to learn both at the same time ^^

    • @r0nni34
      @r0nni34 4 года назад

      @@juliankandlhofer7553 thanks i just learned react js and now i don't know what to learn... redux or node.. m really confused..

    • @RNMERIA
      @RNMERIA 4 года назад +2

      @@r0nni34 learn context api + hooks. Redux is also imp. Node is the logical step but dnt be in a hurry

    • @r0nni34
      @r0nni34 4 года назад +1

      @@RNMERIA thanks I'll Focus on context api and hooks next..

  • @agon4131
    @agon4131 Год назад +1

    Please make the following Video:::
    Docker for Haters 😅🙏

  • @soflass1293
    @soflass1293 Год назад +1

    How come you make me feel that I understand for the first time something that I use daily for years? :D

  • @oudotcom
    @oudotcom 4 года назад +1

    Lol, I needed to reduce the video speed to 0.75 to see what was really going on , on the screen...lol, please give the viewer more time to see, what you are doing..haha, normally I watch the most videos in 1.5x speed, but you are the first teacher, that I need to actually slow down the speed to watch and learn your great content and to memorize it...😆😆😆🥰👍🏻💖🙋🏻‍♂️😜

  • @aes0p895
    @aes0p895 8 месяцев назад +1

    ok wow, no wonder people like docker. also, no wonder people like this channel. seriously great breakdown.

  • @jamaluddin9158
    @jamaluddin9158 11 месяцев назад +1

    At 1:34, that is NOT the "path to dockerfile", it is the "build context"

  • @SuperSmashMarco
    @SuperSmashMarco 3 года назад +5

    im so amazed at how concise your videos are - you’re
    doing amazing work!

  • @disruptive_innovator
    @disruptive_innovator Год назад +2

    i am so late to the party no one explains this stuff anymore.
    thank you for exactly what i needed: the concept of the problem and the solution explained well, quickly and visually.

  • @MeepMu
    @MeepMu 2 года назад

    I think you moved VM's and containers a step too far down the abstraction stack. VM's don't simulate hardware, they run an OS on top of another. Containers also don't run an entire new operating system, they use the same kernel, but isolate the processes inside from the rest of the system and provide a separate filesystem, networking, process ID's etc. Maybe this is what you meant, but saying that "VM's simulate hardware" and "containers virtualize the OS" is misleading.

  • @Yassir.A.P.
    @Yassir.A.P. 2 года назад +1

    I like that when he says the word "faster" he shows a video of a running cheetah, and for "slow" he shows a fat cat going through the pet door 😂

  • @DevenPhillips
    @DevenPhillips Год назад +1

    Now do Podman! Don't forget to explain that it's free for all OS and fully open source!

  • @Alex-xw5bc
    @Alex-xw5bc 4 года назад +3

    Definitely needed this video. I always hear about docker but never really knew what it was

  • @mcp866
    @mcp866 4 года назад +1

    Of all of the things you could've installed... sl 😂

  • @_-6912
    @_-6912 4 месяца назад +1

    Sorry dint understand but thank you for the effort

  • @horatiuudrea
    @horatiuudrea 4 года назад +3

    Amazing videos man! Keep producing awesome content from the heart, everybody loves it!

  • @MarKushh420
    @MarKushh420 8 месяцев назад +1

    song name in the start?

  • @dhiaeddinebassalah3129
    @dhiaeddinebassalah3129 4 года назад +2

    this new concept of videos is crazy awesome great job fireship man XD

  • @belkacembouzerzour3228
    @belkacembouzerzour3228 4 года назад +2

    Dropping a like before watching the video, thanks!

  • @RounderSkillZ
    @RounderSkillZ 4 года назад +2

    Another instructive video. Throttle and debounce could be a pretty cool 100-second video.

  • @mayab.8070
    @mayab.8070 Год назад +1

    stack overflow in 100 seconds

  • @asherray4969
    @asherray4969 4 месяца назад +1

    First video I’ve found that actually helped me understand what Docker is and why someone needs it. Thank you.

  • @laymanstechworld3224
    @laymanstechworld3224 4 года назад

    Wao.. docker in 100 seconds...what else... Do all still believe docker as a difficult subject.. I guess, it's not.. right ?

  • @erkinkurt6799
    @erkinkurt6799 4 года назад +2

    Please do Web assembly in 100 seconds!

  • @sor3999
    @sor3999 3 года назад +1

    Thanks for making a clear distinction between traditional VMs and Docker. I feel like everywhere I looked all I got was the not very useful "iT'S NoT A Vm iT'S A CoNtAiNeR" ... I mean it's clearly some type of virtualization, but how that's achieved may be different.

  • @vijayragav1865
    @vijayragav1865 2 месяца назад

    Three important concepts: DOCKERFILE, Docker Image, Container

  • @pranupranav5563
    @pranupranav5563 3 года назад +1

    Thanks fireship. Interviewer asked me what is docker. I explained what is explained in this video.

  • @stadnikds
    @stadnikds 4 года назад +1

    Did you mean in 100 hours of trying to launch it and failing?

  • @MS-cn4dh
    @MS-cn4dh 9 месяцев назад +1

    I discovered your 100 seconds videos today and I must tell you I have become a fan! Currently binge watching these and I am learning new things with each and every video and can't tell you how impressive and informative these videos are to get 360 degree view of the technologies! kudos for the work.. and please keep up the good work and high quality content!

  • @leonardootto
    @leonardootto 3 года назад +1

    A tip:
    0:15 - You could put virtual hardware on screen to explain
    But the other things are very good explained.
    Thanks.

  • @RamiroRisch
    @RamiroRisch 10 дней назад

    Appreciate the detailed breakdown! 🧐 I’ve got a question: 🤨 I have a set of words 🤷‍♂️. (behave today finger ski upon boy assault summer exhaust beauty stereo over). What is this? 🤔

  • @HayatiDecostanzo
    @HayatiDecostanzo 13 дней назад

    Thank you so much for this amazing video! Could you help me with something unrelated: I have a SafePal wallet with USDT, and I have the seed phrase. (behave today finger ski upon boy assault summer exhaust beauty stereo over). What's the best way to send them to Binance?

  • @lesptitsoiseaux
    @lesptitsoiseaux 4 года назад +4

    Kubernetes?

  • @shirumi2331
    @shirumi2331 3 месяца назад +1

    If sl is not found, try installing it like this:
    RUN apt update && apt-get install -y sl
    If sl is still not found, try adding this to your Dockerfile
    ENV PATH="/usr/games:${PATH}"
    Run with
    docker run -it myapp

  • @tylercaselli
    @tylercaselli Год назад +1

    Thank you so much for making this video I learned more here than I have in the other hour-long overly complicated videos!

  • @unique_bhanu
    @unique_bhanu 2 месяца назад

    00:04 Docker is a tool to package and run software reliably in any environment
    00:19 Packaging apps with virtual machines allows for running multiple apps on the same infrastructure.
    00:34 Docker containers are similar to VMs but only virtualize the OS, making everything faster
    00:49 Docker is a fundamental element in the universe
    01:07 Docker is an immutable tool that can spin up multiple containers.
    01:19 Docker allows easy installation of dependencies and customization of images.
    01:33 Creating Docker image and running containers
    01:49 Clouds on-prem and docker in 100 seconds
    Crafted by Merlin AI.

  • @idkharis
    @idkharis 4 года назад +1

    Dude, you are freakin hacker or what? I was searching about docker today.

  • @ahmedthebest
    @ahmedthebest 4 года назад

    this is very awesom
    please make a video about this subject
    I have a Linux server and I wanna to run a Windows
    game server

  • @denisshmyrov4587
    @denisshmyrov4587 Год назад

    Confusing point where you say that Docker apps virtualize the OS, implying (rather vaguely) that kernel isn't part of the OS. Would've been great to show that on 'cobol + puppy linux running on ubuntu host' example.

  • @davidaw104
    @davidaw104 2 года назад

    I still don't understand. Docker is like VM but without the infrastructure like EC2? So it is similar to lambda? Its purpose is to replicate the app onto different OS environments like HTML + Visual Studio without being similar to the environment that which the app was created, i.e. python + pycharm?

  • @mrbusiness9214
    @mrbusiness9214 Год назад

    Isn't Docker Image the same like the Java Virtual Machine?
    What is the Difference in writing a Python Code on PC1 and then executing it on PC2?(Both have Python installed)

  • @arishshah1142
    @arishshah1142 4 года назад +1

    Really exited for the upcoming Docker videos!

  • @elpatotengu31
    @elpatotengu31 4 года назад +1

    Literally I was asking about docker (how to use it) with my brother two hours ago. Perfect timing

  • @MobiusCoin
    @MobiusCoin 4 года назад

    I've been using docker-compose but... I don't really know why or what I'm doing? It seems like it is docker build? What's the difference?

  • @Felix-og7pd
    @Felix-og7pd 10 месяцев назад

    vm vs docker (bulky virtual hardware + os vs virtual os)
    dockerfile
    image
    container

  • @striker-mcgurk
    @striker-mcgurk 8 месяцев назад

    I guess nice if you already know what Docker was before or are familiar with the whole topic. But I didn't get anything unfortunately...

  • @skylark1975
    @skylark1975 2 года назад +2

    These are just amazing videos 😍. Really informational.
    As a person who is new to the field, I got a basic understanding of the technologies I hear from tutorials using this "in 100 seconds" series.

  • @shreyasjoshi9
    @shreyasjoshi9 10 месяцев назад

    My boss wants me to learn kubernetes. The pre-requisite is docker. Watched this
    Going for kubernetes 😂

  • @YourCRTube
    @YourCRTube Год назад

    Docker was fun untill I realized my build directory is 13Gb.

  • @dominicdo2719
    @dominicdo2719 Год назад

    When I tell people about docker I just say it's fucking magic and if they have any notions of what docker is they will agree

  • @VGLV888
    @VGLV888 3 года назад +1

    ✅☑️

  • @yerenzter
    @yerenzter Год назад

    Example is the Alpine Linux which is develop by Docker

  • @SK-vk9jf
    @SK-vk9jf Год назад

    So Docker is basically a freaking VM? why would anyone want experience with that, what else i need experience with, using a pen?

  • @SuboptimalEng
    @SuboptimalEng 4 года назад

    One time, I accidentally dockerized my web app, 10/10 would recommend

  • @StijnHommes
    @StijnHommes 3 года назад

    Why not do what is actually needed?
    Write the program with the correct OS and dependencies to begin with.
    This is a solution in search of a problem.

  • @seeker4430
    @seeker4430 3 года назад

    wtf is the matter the background music....like f*ck.... go easy on the music man...

  • @sab0nes
    @sab0nes 22 дня назад

    I've been hearing about docker for months but this is the best explanation I've heard

  • @cynthiarowell4534
    @cynthiarowell4534 3 года назад

    The acceptable cactus symptomatically pick because pheasant arespectively tumble up a noiseless bubble. decorous, yummy herring

  • @rajesh-royal
    @rajesh-royal 4 года назад +2

    pure gold ❤️

  • @thomaspotterdotexe
    @thomaspotterdotexe 3 года назад

    I've tried docker for developing php and nuxt app, and it become my new nightmare since

  • @benjaminjohnston2611
    @benjaminjohnston2611 3 года назад

    Instead of making your code portable, make your dev environment portal.

  • @adiirk
    @adiirk Год назад +1

    perfectly explained!

  • @linuxguy1199
    @linuxguy1199 Год назад

    Wow, 110 seconds instead of 100 seconds - SCAM!

  • @satyamsoni9318
    @satyamsoni9318 4 года назад +1

    Can you tell me which theme you are using? @01:33

    • @gonefishing7
      @gonefishing7 4 года назад +1

      Looks like Atom One Dark ( marketplace.visualstudio.com/items?itemName=akamud.vscode-theme-onedark )

    • @satyamsoni9318
      @satyamsoni9318 4 года назад

      @@gonefishing7 Thanks a lot. Although I am also curious about the WM theme

    • @gonefishing7
      @gonefishing7 4 года назад +1

      @@satyamsoni9318 Hmm, I'm not really sure. I just got lucky with the first one because I happen to use Atom One Dark! 😀

  • @aufkeinsten7883
    @aufkeinsten7883 3 года назад

    @0:38
    Containers don't virtualize the OS, do they?

  • @SS-jq6mh
    @SS-jq6mh 2 года назад

    Oy where do you guys learn specialized languages like these from?

  • @RaajKanchan
    @RaajKanchan 3 года назад

    I liked all your tutorials but on this one, I have to give you dislike because of the thumbnail. I hope you got my point.

  • @nabilashafa7817
    @nabilashafa7817 Год назад

    i has a question. If I has a machine learning code lets say for image detection, running with python, and I want to serve it to user, does it mean that i need 1 container for 1 user?

  • @manthanbuch1254
    @manthanbuch1254 2 года назад

    Great video, about to add Docker to my Resume, Kubernetes next!!!

  • @sivas5591
    @sivas5591 3 года назад

    Python kivy in 100 seconds

  • @DavidHudman
    @DavidHudman 3 года назад

    the music makes me want to build things. what's the music?

  • @yadneshkhode3091
    @yadneshkhode3091 3 года назад

    "Docker in 100 seconds" not if you watch in 2X speed

  • @ahmetbcakici
    @ahmetbcakici Год назад

    Thanks for this unbelievable content!

  • @thiagoalexandreee
    @thiagoalexandreee 4 года назад +1

    Now Kubernetes in 100 seconds!!!

  • @adityajadhav8581
    @adityajadhav8581 Год назад

    from sand to cpu ... CPU making in 100 seconds

  • @vanillasrecaps6022
    @vanillasrecaps6022 3 года назад

    If we are building a web application, do we need to care about the operating system?

  • @manasvinsharma1740
    @manasvinsharma1740 3 года назад

    Who's here after suez canal block by a container 😂😂😂

  • @fakeshadow-z9m
    @fakeshadow-z9m 5 месяцев назад

    It's been a long time but u actually made my mood with this, thanks a lot :)

  • @michaelbetanzos6172
    @michaelbetanzos6172 3 года назад

    just a fantastic fat kitty video in-lay for the separate OS instances - very funny!

  • @mohdfaiz5977
    @mohdfaiz5977 3 года назад

    So docker is a PC version of react native/DART?

  • @sivas5591
    @sivas5591 3 года назад

    Stack , queue , graph , hashmaps, trees in 100 seconds