100+ Docker Concepts you Need to Know

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 1,1 тис.

  • @Fireship
    @Fireship  9 місяців тому +483

    Docker Desktop makes everything so much easier, get it here dockr.ly/4c9PYp9

    • @MichaelMantion
      @MichaelMantion 9 місяців тому +2

      soooo long

    • @kaido453
      @kaido453 9 місяців тому +1

      and they levrage dockers too, I mean they r a cloud provider but a truly decentralized one,
      I am a newbie in Tech but I love to see a pro like u drill it down, Thanks man

    • @nathanmersha5295
      @nathanmersha5295 9 місяців тому +8

      Where is the docker certificate in the vid. I want to add to my resume.

    • @Aoredon
      @Aoredon 9 місяців тому +3

      Is this a sponsored video?

    • @LuisSierra42
      @LuisSierra42 9 місяців тому +8

      @@Aoredon it is, did you even watch the video?

  • @crox1022
    @crox1022 9 місяців тому +6605

    Now I can add Docker to my resume

    • @kareemamr5626
      @kareemamr5626 9 місяців тому +165

      truer words have never been spoken

    • @Beetlebugoid
      @Beetlebugoid 9 місяців тому +108

      I was called the champion in docking once.

    • @Karearearea
      @Karearearea 9 місяців тому +25

      Way ahead of you

    • @yrds96
      @yrds96 9 місяців тому +65

      Now I can add Docker SPECIALIST to my resume

    • @itspaintosee
      @itspaintosee 9 місяців тому +31

      Don't, then you'll have to work with it 😅

  • @ThomasAndersonPhD
    @ThomasAndersonPhD 9 місяців тому +1580

    Under-appreciated brilliance in the writing:
    1:30 With vertical scaling, eventually you hit a ceiling.

    • @lhxperimental
      @lhxperimental 9 місяців тому +140

      But with horizontal scaling, eventually you hit a wall

    • @lightrh
      @lightrh 9 місяців тому +76

      @@lhxperimental that's not true because it doesn't rhyme

    • @thatsalot3577
      @thatsalot3577 9 місяців тому +11

      @@lhxperimental get it ? vertical scaling -> getting tall -> hitting ceiling ?

    • @lhxperimental
      @lhxperimental 9 місяців тому +12

      @@thatsalot3577 Very much, my response is a play on the same theme

    • @thatsalot3577
      @thatsalot3577 9 місяців тому +1

      @@lhxperimental sorry I accidentally replied to you I wanted to say it to @Horopter

  • @wlockuz4467
    @wlockuz4467 9 місяців тому +880

    I am glad Jeff's pronounciation of ps hasn't changed over the years.

    • @dejangegic
      @dejangegic 9 місяців тому +3

      what's ps?

    • @wlockuz4467
      @wlockuz4467 9 місяців тому +21

      @@dejangegic ps as in "docker ps", It probably stands for processes.

    • @abdulsiyadnp
      @abdulsiyadnp 9 місяців тому +8

      That's what we call consistency 😂

    • @ravichandramulage8852
      @ravichandramulage8852 9 місяців тому +14

      @@dejangegic ps - process status

    • @alisanan9090
      @alisanan9090 9 місяців тому +5

      And also printf

  • @GSBarlev
    @GSBarlev 9 місяців тому +958

    I've actually taken professional docker courses. This is better than 90% of them. I will absolutely add "Docker certified by Jeff Fireship" to my resumé the next time I'm on the hunt.

    • @GSBarlev
      @GSBarlev 9 місяців тому +77

      Just to clarify, the top spot still goes to Phippy & Friends and their _Illustrated Children's Guides to Kubernetes_ (which, yes, do cover Docker as well).

    • @g3n3r1c6
      @g3n3r1c6 9 місяців тому +9

      ​@@GSBarlevI'll keep the recommendation in mind! I've been wanting to learn this stuff for quite some time

    • @EhurtAfy
      @EhurtAfy 9 місяців тому +13

      Yes, a quick overview is so much better for me than reading a book with 15 chapters. The book or documentation may help later on, but having a complete picture helps me figure out what I'm getting into

    • @brenoingwersen784
      @brenoingwersen784 9 місяців тому +10

      Most tech courses are focused on “making your money worth” by overcomplicating concepts and adding unnecessary concepts to virtually increase their price, but making learning boring, exhausting and more complex.
      In the end you’re sold the idea of a full content course and when you try applying it you simply can’t lol

    • @nadirqg
      @nadirqg 9 місяців тому +4

      I'm sorry but an 8 mins video will never be more instructive than a good book.

  • @ColorblindMonk
    @ColorblindMonk 9 місяців тому +248

    I've been a casual Docker enjoyer at home with my Unraid server. At work I'm one of two in-house developers working on a large project that needed a simple server with PHP and MS ODBC drivers. My co-worker was in charge of this, but said he needed 2-3 weeks to get this setup. But with Docker I got it running within an afternoon. Now I've also inherited the job of deploying said server on top of my other duties. Thanks, Docker!

    • @fullcrum2089
      @fullcrum2089 9 місяців тому

      i'm needing 3 years to setup my system, and i'm using docker. lol

    • @cartanfan-youtube
      @cartanfan-youtube 9 місяців тому

      Ex unraid user, you can recreate all of unraid for free using Debian, mergerfs/snapraid, and your docker platform of choice :3 if your comfy on unraid then fair enough, but just know you have more powerful free options

    • @ДАНЯ_МГЕ
      @ДАНЯ_МГЕ 9 місяців тому +45

      So now you are just doing someone else's job on top of your duties?
      Hope you get a raise for your efforts mate, keep it up

    • @jit-r5b
      @jit-r5b 9 місяців тому +24

      Feel you. I feel seniority title is not about how well we code but about how well we learn to say no to things that will put more on our heads 😅

    • @rashedalamny
      @rashedalamny 9 місяців тому +3

      Make sure they don’t underpay u

  • @_sevelin
    @_sevelin 9 місяців тому +2411

    docker creates a new problem called "It doesnt work on anybodys machine"

    • @shortgamehistory
      @shortgamehistory 9 місяців тому +166

      you deserve money for this comment

    • @aryangupta7703
      @aryangupta7703 9 місяців тому +11

      @@shortgamehistory True

    • @pookiepats
      @pookiepats 9 місяців тому +11

      😂

    • @itami661
      @itami661 9 місяців тому +6

      lol

    • @123ftw1
      @123ftw1 9 місяців тому +9

      Like Facebook a few days ago?

  • @eccentricOrange
    @eccentricOrange 9 місяців тому +276

    Bro got a sponsorship from Docker? Way to go Jeff! You've come a long way

    • @leakproofcarp75
      @leakproofcarp75 9 місяців тому +29

      Agreed, sponsored by Docker is such a flex

  • @JohnneyleeRollins
    @JohnneyleeRollins 9 місяців тому +2162

    Step one: update resume with docker

    • @choonyongtan5671
      @choonyongtan5671 9 місяців тому +35

      Step 2: profit?

    • @bitcode_
      @bitcode_ 9 місяців тому

      no, step 2 is submit 1,000 resumes and get ignored by 99% @@choonyongtan5671

    • @gokudomatic
      @gokudomatic 9 місяців тому

      @@choonyongtan5671 Step 2: debug and search on stackoverflow why it's not working

    • @chuck600
      @chuck600 9 місяців тому +50

      Step 3: dockerize your resume

    • @BarnabasU09
      @BarnabasU09 9 місяців тому +24

      Step: 4 dockerize your life

  • @popel_
    @popel_ 9 місяців тому +427

    1. Computer
    2. CPU
    3. RAM
    4. Disk
    5. Bare metal
    6. OS
    7. Kernel
    8. Applications
    9. Physical medium
    10. Internet
    11. Networking
    12. Client side
    13. Server side
    14. Disk I/O
    15. Bandwidth
    16. Race conditions
    17. Memory leaks
    18. Unhandled errors
    19. Scale
    20. Vertical scale
    21. Horizontal scale
    22. Microservices
    23. Distributed systems
    24. VM
    25. Hypervisor
    26. Guest OS
    27. Fixed resource allocation
    28. Docker
    29. Isolate
    30. Shared kernel
    31. Dynamic resource allocation
    32. Daemon process
    33. OS-level virtualization
    34. Docker desktop
    35. Dockerfile
    36. Image
    37. Layers
    38. Dockerhub
    39. Container
    40. Isolation
    41. Portable
    42. Vendor lock in
    43. Instructions
    44. From
    45. Base image linux distro
    46. Image tag
    47. Run
    48. Command line
    49. User
    50. Root user
    51. Copy
    52. Env
    53. Environment vars
    54. Expose
    55. Port
    56. CMD
    57. Entrypoint
    58. Arguments
    59. Label
    60. Healthcheck
    61. Volume
    62. Persistent disk
    63. Docker CLI
    64. Help
    65. Build
    66. SHA-256
    67. Layer caching
    68. Docker scout
    69. HI MOM ;D
    70. Software bill of material
    71. Vulnerabilities
    72. Severity rating
    73. Run command
    74. Localhost
    75. Ps command
    76. Logs
    77. File system
    78. Exec
    79. Stop
    80. Kill
    81. Rm
    82. Push
    83. Registry
    84. Eks
    85. Serverless
    86. Pull
    87. Docker compose
    88. Multi-container apps
    89. YAML config
    90. Up
    91. Down
    92. Orchestration
    93. Kubernetes
    94. Control plane
    95. Cluster
    96. Pod
    97. Kublet
    98. Deployments
    99. Fault tolerance
    100. Auto heal
    101. Borg
    Congrats! Now you are Senior DevOps Engineer and you have depression!

    • @davixpixie243
      @davixpixie243 9 місяців тому +26

      69 sus

    • @theblckbird
      @theblckbird 9 місяців тому +10

      why did you do this...
      I love it!

    • @juanPabloSanchez44000
      @juanPabloSanchez44000 9 місяців тому +12

      Now provide the timestamp for each concept

    • @popel_
      @popel_ 9 місяців тому

      @@juanPabloSanchez44000 its too much ;D

    • @Skilital
      @Skilital 9 місяців тому +1

      You skipped the docker ignore... 😔

  • @ccj2
    @ccj2 9 місяців тому +21

    This is one of the first videos I’ve watched where I already knew just about everything. I love Docker. This broke it down perfectly.

  • @lucahoffmann8695
    @lucahoffmann8695 9 місяців тому +76

    @4:30 rest in peace fireshipˋs mom. so sad she wont see those hidden easter eggs anymore but i love that you keep up the tradition

    • @The0GamingHero
      @The0GamingHero 9 місяців тому +2

      What easter egg?

    • @syed5126
      @syed5126 9 місяців тому

      @@The0GamingHero Look at the API_KEY variable.

    • @salvosuper
      @salvosuper 9 місяців тому +4

      He put his signature "hi mom" greeting in the dockerfile ​@@The0GamingHero

    • @The0GamingHero
      @The0GamingHero 9 місяців тому +1

      @@salvosuper Ah, I didn't know he was doing that. Thanks for letting me know.

    • @idahodz
      @idahodz 9 місяців тому

      Requiescat de Pace❤

  • @rcjinAZ
    @rcjinAZ 9 місяців тому +6

    I like the sense of humor in these videos, but I'm also impressed at how extremely concise and accurate these videos are in presenting information about computer programming and computer science. Thumbs up.

  • @MohitSuryadevara
    @MohitSuryadevara 9 місяців тому +32

    Ok now we need 100+ series alongside with 100 seconds series. Like always thanks for providing quality content!!

  • @aaaaanh
    @aaaaanh 9 місяців тому +103

    thanks, whenever someone asks me to explain docker, i'll just rickroll them with this
    it's kinda funny that there's tool to manage Docker, tool to manage the tool that manages Docker, tool to manage the tool that manages the tool that manages Docker. Then eventually we're back at provisioning the bare-metal layer.

  • @DeanLawrence_ftw
    @DeanLawrence_ftw 9 місяців тому +15

    Really solid intro to docker. Took me waaay longer than 8 and a half minutes to piece this together myself by reading documentation and experimenting with containers.

  • @C0ntroller
    @C0ntroller 9 місяців тому +254

    Just a little heads up: the `docker-compose` command has been part of docker for a while now, so you can (and probably should) use `docker compose` without the minus.

    • @alextaylor4511
      @alextaylor4511 9 місяців тому +8

      i didn't know that thank you

    • @faster_than_bugs
      @faster_than_bugs 9 місяців тому +38

      The original docker-compose command has even been deprecated more than a year ago

    • @BuschFrankmann
      @BuschFrankmann 9 місяців тому

      @@faster_than_bugs True, but its still getting updates on like every 2 weeks, lul

    • @andrewm4894
      @andrewm4894 9 місяців тому

      Haha scrolled to see how far id need to go to see this 🫡

    • @aoe4_kachow
      @aoe4_kachow 9 місяців тому +34

      AI Jeff’s knowledge cut off is from before that change

  • @ennisstephen
    @ennisstephen 9 місяців тому +39

    Fireship uploads a Docker tutorial instead of an AI hype video. Proof we live in a simulation and have been transported back to 2019.

  • @tommy_asd
    @tommy_asd 9 місяців тому +17

    Just as my boss was talking about using Docker at work and I got interested in using it in personal projects, this video pops up. Thanks Fireship!

  • @gedalyahreback2133
    @gedalyahreback2133 9 місяців тому +15

    I'm always amazed by how efficiently and extremely quickly you can explain such complex concepts.
    Then I remember that I usually watch things in 1.5x speed.
    Then I am amazed by how efficiently and relatively quickly you can explain such complex concepts.

  • @larrytron1992
    @larrytron1992 9 місяців тому +21

    I love docker. It’s honestly one of the best technologies ever created for developers to use

    • @nicejungle
      @nicejungle 9 місяців тому +4

      I concur
      Docker can let up expriment anything everywhere.
      It's awesome to test some technology without messing your OS

    • @Necessarius
      @Necessarius 9 місяців тому +11

      Yhe problems they produce are awesome too

  • @briholland
    @briholland 9 місяців тому +1

    I love your videos. They’re like taking a university course in less than 10 minutes: quality info, crunched time. Cram to the max with comical relief for reinforced learning. So amazingly clever! Thank you! 🙏🤩

  • @Jarrodx
    @Jarrodx 9 місяців тому +16

    Best 4 minute and 17 second video I've ever seen. Ready to call myself a docker expert.

  • @rjpatinio7345
    @rjpatinio7345 9 місяців тому +1

    Thanks for this video. As a developer, I've always heard about Docker, but I found it too intimidating. Now, it makes sense. I've always found it really difficult to deploy my applications from localhost to servers, but the video you provided about Docker opened a new mindset for me. It introduces a whole new scale of deploying my applications. Thank you so much.

  • @QBuri
    @QBuri 9 місяців тому +43

    fireship never fails to fill me up with his docks

  • @TheKustubusu
    @TheKustubusu 9 місяців тому +7

    Knowing the Jeff's history, this hi_mom destroys me completely, like seriously brings me to tears knowing this will happen to me in the near future. Nice tribute and I hope you're doing ok Jeff :')

  • @Taderbaraeg
    @Taderbaraeg 9 місяців тому +8

    Sir.... I wanted to tell you a few vids back, that you are one hell of a gifted creator

  • @jamesm4957
    @jamesm4957 9 місяців тому +4

    Another alternative to Docker; Podman, like docker it is an OCI (open container iniciative) standard compliant, meaning what you do in docker works for podman aswell.

  • @rodrigorabioglio34
    @rodrigorabioglio34 9 місяців тому +19

    4:19 EXPOSE actually doesn't make the port accessible, it's just a way to highlight to others where your container listens to.
    To make the port available u should pass the -p flag to docker run, or define it on the compose file :)

  • @dogukan463
    @dogukan463 9 місяців тому +2

    I need to do a lot of tests with multiple services because of my job. Docker has been a godsent. Absolutely my favourite tool.

  • @trueberryless
    @trueberryless 9 місяців тому +70

    Actually nowadays some engineers prefer the concept of: scaling by different, scaling by cloning and scaling by similar. Where cloning just means horizontal and vertical scaling, different means that different servers run different components or services of the application and similar means for example storing users grouped by usernames and every server only handles usernames that start with one Generally speaking, most engineers only know horizontal and vertical so great video! ❤ Really appreciate it!

    • @tubekrake
      @tubekrake 9 місяців тому +16

      That is just DB sharding, the apps aren't divided just the DB.

    • @tymektretowicz8336
      @tymektretowicz8336 9 місяців тому +1

      @trueberryless just today i wanted to suggest this concept of scaling by similarity, but didn't know the name of the idea. Do you perhaps recommend any resources regarding this topic?

    • @Daroqe
      @Daroqe 9 місяців тому +5

      isn't 'scaling by similar' just one approach to load balance the traffic when scaling horizontally? Making it a subset of 'scaling by cloning'

    • @Udodisgustme
      @Udodisgustme 9 місяців тому

      Where can i read about this?

    • @astronemir
      @astronemir 9 місяців тому

      @@tymektretowicz8336sharding

  • @M3erxer
    @M3erxer 8 місяців тому +1

    I have no idea what most of these videos are talking about but I love watching them.

  • @arcan762
    @arcan762 9 місяців тому +10

    _"It works on my container!"_

  • @KingCitaldo125
    @KingCitaldo125 9 місяців тому

    Thanks!

  • @SmartieTV
    @SmartieTV 9 місяців тому +11

    Sponsored by Docker?! 🤯🤯

  • @lenana2149
    @lenana2149 9 місяців тому +2

    3:02 the data is only lost if you delete them. Shutting them down will result in the state being saved like a conventional virtual machine, so that you can continue where you left off before.

  • @4RILDIGITAL
    @4RILDIGITAL 9 місяців тому +6

    Understanding the foundation of Docker and the practical applications of containerization was made much simpler. Your clear explanation of complex topics makes it a valuable resource for anyone striving to improve their understanding of Docker and its capabilities.

    • @shashanks7088
      @shashanks7088 9 місяців тому +7

      Thanks ChatGPT 😅

    • @cristianarean647
      @cristianarean647 9 місяців тому

      @@shashanks7088 sounds like that but also it's true what he said haha

  • @noorzaibchohan1200
    @noorzaibchohan1200 3 місяці тому

    The amount of time he spends on learning all the tech to the core to explain us like this is unimaginable. this guy deserves an oscar in programmingwood.

  • @visheshmp
    @visheshmp 9 місяців тому +6

    I literally added certified docker expert certificate screeshot at 7:04 on my linkedin.

  • @minelpphynix5667
    @minelpphynix5667 9 місяців тому +2

    If Kubernetes is too complex for you or your use case, try docker swarm! It is already included with docker and allows you to form a swarm of multiple nodes where containers can be distributed and even scaled. The best part is that this is also compatible with compose, so any service structure in compose just needs some additional lines to provide some more information to the swarm about requirements and more.

    • @DroisKargva
      @DroisKargva 9 місяців тому

      Is it possible to do hybrid deployment with swarm? one server on prem another on DigitalOcean droplet?

    • @minelpphynix5667
      @minelpphynix5667 9 місяців тому +1

      @@DroisKargva Swarm uses additional/different ports which might be blocked by cloud providers. In general the swarm control plane traffic should not be public because it is not secure. Also a swarm allows you to have a network between ween different services, even when those are on different physical machines. I would not recommend doing this between servers that are as far away as local hardware and the cloud. So you will have to look if your cloud provider supports Docker Swarm.

    • @DroisKargva
      @DroisKargva 9 місяців тому

      ​@@minelpphynix5667Thank you for your recommendation. It helped it to make a decision. I will go with cloud VPS and see how it will work. Have a great day

  • @creamyhorror
    @creamyhorror 9 місяців тому +13

    Daily Fireship brown-bag lunch, done. Tip: an alternative to Docker Desktop is Rancher Desktop. Rancher is also behind k3s, a minimal implementation of Kubernetes. No affiliation.

    • @amoenus_dev
      @amoenus_dev 9 місяців тому +1

      It's my tool of choice. As industry already heavily moved on to k8s, Rancher desktop allows habits to form around kuberenetes paradigms as opposed to pure docker.

  • @moonprojections8414
    @moonprojections8414 6 місяців тому

    If I saw that certificate with a resume, I would hire. This is the best Docker crash course I've ever seen. I am adding it to our Knowledge Base.

  • @YBoyi
    @YBoyi 9 місяців тому +4

    The greatest sponsor ever. Nobody would understand that's a sponsored video

    • @jacobstamm
      @jacobstamm 9 місяців тому +1

      Neglecting to mention that Docker is just one - although certainly the first and biggest - implementation of open container specifications is kind of a giveaway even if the sponsorship weren’t disclosed

  • @html1143
    @html1143 5 місяців тому

    I have been running docker compose in my homelab and it very much speeds up the process of setting up and configuring services in your network. I would recommend it to anyone interested in setting up services or a homelab in general.

  • @thecastiel69
    @thecastiel69 9 місяців тому +25

    Podman 101 when?

    • @emikojenn
      @emikojenn 9 місяців тому +6

      you are a man of culture, I see.
      btw most of docker also works in podman, they have the same container standard, just change the names (example: docker-compose.yml => compose.yml)

    • @Blackrobe
      @Blackrobe 9 місяців тому

      this.

    • @Blackrobe
      @Blackrobe 9 місяців тому

      ​@@emikojennI'm having difficulties coupling podman with docker compose though, iirc it's just podman running docker-compose binary? CMIIW

    • @emikojenn
      @emikojenn 9 місяців тому

      @@Blackrobewell, I use podman-compose and there's also kubernetes, I don't know why would you use docker-compose with podman but the answear would be, rename the podman (compose.yml) to Dockerfile or docker-compose.yml, also I think you can specify the file in compose like: "docker-compose -f /compose.yml"

  • @xpeachbunnyx
    @xpeachbunnyx 7 місяців тому

    This is one of the best explanations of Docker that I've seen in my 6 years of programming

  • @tikul1662
    @tikul1662 8 місяців тому +6

    That garbage code line was personal

  • @lynic-0091
    @lynic-0091 9 місяців тому

    It took me a little while to get used to Docker, but it's so damn powerful and has made my life so much easier. Love it to bits.

  • @egillanton
    @egillanton 9 місяців тому +4

    The first sponsered add I wanted to watch

  • @94SL3
    @94SL3 9 місяців тому

    This comes just at the right time to solidify what I've learned from building setups with docker-compose for the past two weeks!

  • @izydor3344
    @izydor3344 9 місяців тому +5

    2:42 A docker image does not contain an OS. Just tools and libraries from the selected OS.

  • @lopypop
    @lopypop 9 місяців тому

    I have searched 100+ variations of "what is docker" and this is by far the most approachable answer. Thank you!

  • @diegosebastian2422
    @diegosebastian2422 9 місяців тому +203

    Day 3 of a Fireship Video Without AI

    • @alexsmith-rs6zq
      @alexsmith-rs6zq 9 місяців тому +12

      Hate this has become a thing on his channel, who cares just posting for the likes / top comment

    • @NexusGamingRadical
      @NexusGamingRadical 9 місяців тому +2

      Good

    • @clxxxvii.
      @clxxxvii. 9 місяців тому +3

      I absolutely love the ratio of different topics on this channel and I sincerely hope this wasn't a negative comment

    • @paypalmymoneydfs
      @paypalmymoneydfs 9 місяців тому +1

      Edging these AI simps real good

    • @ConstantlyGreg
      @ConstantlyGreg 9 місяців тому

      I don’t get it

  • @seanys
    @seanys 9 місяців тому

    @5:02 Just a note on grammar… docker build does not “turn that file into an image.” It creates a container image, that is completely separate from the Dockerfile, using the commands in the Dockerfile.
    This type of casual language can confuse novice users.
    Otherwise, I like your vids and actually learnt some new things from this one. Keep up the good work.

    • @bepamungkas
      @bepamungkas 9 місяців тому

      FWIW, he said it "build the file into image". Which is "technically correct".
      And you still need the file for the docker daemon to track build step reference. So there's a loose coupling between the file and the image it created.

  • @abbass_almusawi
    @abbass_almusawi 9 місяців тому +10

    6:11 "docker ps"

    • @voodoo_teddy
      @voodoo_teddy 9 місяців тому

      Gen AI is taking over this channel.

    • @limbalicious
      @limbalicious 7 місяців тому

      It’s like calling a cat. Pspspsps

  • @darkwoodmovies
    @darkwoodmovies 9 місяців тому

    You know as a somewhat typical viewer of your video (React/web software engineer in the industry), I would have never thought about using Docker, but this sponsorship really sold me on the benefits. (sarcasm)

  • @N0Xa880iUL
    @N0Xa880iUL 9 місяців тому +3

    This is top top content

  • @GareWorks
    @GareWorks 9 місяців тому

    The intermission is a good summation of using Docker. I love how they made things like secrets work completely differently between Docker, Compose, and Swarm. Not confusing at all.

  • @jatintilwani8557
    @jatintilwani8557 9 місяців тому +8

    "Run command Docker pssssssss" 🤣🤣

  • @vigneshrb1626
    @vigneshrb1626 9 місяців тому

    I got to build and deploy a entire application using docker on AWS instances on my first job. It was really a wonderful experience working on this

  • @jacobstamm
    @jacobstamm 9 місяців тому +6

    Very surprised you didn’t mention OCI and open alternatives to Docker, such as Podman. This is precisely why I’m wary of videos sponsored by the company who sells the product featured in the video.

    • @JanisWalliser
      @JanisWalliser 9 місяців тому +2

      Is it really that surprising? It is kind of the point of a sponsored video isn't it? Like why would they want to sponsor him making a video about free alternatives? That is exactly why it has to be made transparent that it is sponsored 🤔

    • @jacobstamm
      @jacobstamm 9 місяців тому +3

      @@JanisWalliser No one expects a sponsored video to prominently feature competitors, but not even _mentioning_ the open source bedrock of the technology lowers quality and trust. A newcomer would walk away from the video thinking Docker is the only way to create & run containers, and that’s pretty lame.

  • @monkeydluffy2063
    @monkeydluffy2063 9 місяців тому

    This is a really good video for basics. I'd love a beyond basics video which include concepts like, using env files, selectively up/down a service in compose, accessing a network from another running docker container, re-usable volumes on host machine etc

    • @MG-ih6po
      @MG-ih6po 9 місяців тому

      You won’t find that here on this channel . UA-cam has plenty of content like that tho

  • @AlexZ005
    @AlexZ005 9 місяців тому +3

    Expose instruction doesnt make port accessible, ots just like a note for developers, you expose port by starting a conrainer and by doing so you can map any available port from 65535

  • @MakeDataUseful
    @MakeDataUseful 9 місяців тому +2

    Best ad on UA-cam

  • @shreeramparija7731
    @shreeramparija7731 9 місяців тому +3

    Bro is sponsored by Docker themselves 😭

  • @rahuldey5564
    @rahuldey5564 6 місяців тому +1

    6:10 I wasn't ready for that 😆😆

  • @hellterminator
    @hellterminator 9 місяців тому +16

    Ah yes, Docker, the revolutionary tool that allows you to turn a 2kB Python script into a 200MB image.

    • @notanenglishperson9865
      @notanenglishperson9865 9 місяців тому +3

      So you disregarded all the benefits it gives, just to make this crucial complainment?

    • @daniel4647
      @daniel4647 9 місяців тому

      @@notanenglishperson9865 It is a lot of bloat though, basically shipping an OS with every single app. I guess it's a solution, but I feel like we should be able to solve it better than just cramming everything in there, you end up with so much data duplication it's insane. Not just docker that does this, other isolated environments does it too. From back when we used chroot to less isolated environments like modern conda. I have at least 50gb of just various conda environments on my PC, so much for a 2kb python script, if uses libraries only compatible with a certain version of python then you're back to 200mb or more. Now if I'm going to pack a whole distro on top of each of them, jeez. Not that docker is bad or anything, but it seems like we're solving a problem we could have avoided in the first place by having more streamlined standards or something.

    • @nicejungle
      @nicejungle 9 місяців тому

      a 200 MB image that can run everywhere in one line of bash VS a 2kB script that only runs on my machine

    • @tbfromsd
      @tbfromsd 9 місяців тому

      How many people do you need to share this 2kb python script with? I use Docker to make sure my team and app host are all on the same platform. If I had to write a small script, and can careless about system conformity, I would just use Github, the overhead of Docker in this usecase is likely overkill.

    • @hellterminator
      @hellterminator 9 місяців тому +1

      @@nicejungle Or you could just take care not to use non-standard dependencies when not necessary and and write a small install script to fetch the rest.
      Docker makes sense for virtualization, but using it for software distribution is pure laziness.

  • @ruebenchandler
    @ruebenchandler 9 місяців тому

    All joking aside, after years of general confusion over docker this video was the most concise explanation of it. Thank you!

  • @pheogrammer
    @pheogrammer 9 місяців тому +3

    😎 Docking

  • @taron-pro
    @taron-pro 9 місяців тому +2

    Nice video! To the best of my knowledge EXPOSE doesn't affect port's accessibility it just highlights what port the service is running on inside the container.

    • @bepamungkas
      @bepamungkas 9 місяців тому +1

      EXPOSE provide default port list when docker run is executed using "publish all ports" option (-P).
      In theory, it allows service definer and executor to skip the need of negotiating and managing port assignment for each services. E.g a webserver container could expose only the secure port (443) and let the request to port 80 be handled by front proxy for better caching (in case of redirect).

  • @EjayzTv
    @EjayzTv 8 місяців тому +3

    docker pssss command 😂

  • @stingfiretube
    @stingfiretube 9 місяців тому

    Solid 8 minutes of no-bullshit Docker basics

  • @justchecking12
    @justchecking12 8 місяців тому +1

    it could have been 1 hour tutorial but even my brain convinced me that it is surprisingly better this way

  • @lieandsmile5084
    @lieandsmile5084 9 місяців тому +1

    My gosh, I wish we had more such informative and short videos. Thank you Sir

  • @vignesh-mr-AI-Indian
    @vignesh-mr-AI-Indian 4 місяці тому

    This is the coolest channel ever dedicated to IT .

  • @humadi2001
    @humadi2001 7 місяців тому

    the first two minutes are LEGENDARY!!

  • @patricknelson
    @patricknelson 9 місяців тому +1

    Cloud Run is pretty sweet, btw. Also, look at Docker alternatives like podman. Everything you learned in this is more relating to containers and the OCI specification. Docker is just one program/suite of many that runs containers. 😊

  • @TheHermitHacker
    @TheHermitHacker 9 місяців тому +1

    I needed this in 2015. Seriously.

  • @darkshiftyzero
    @darkshiftyzero 9 місяців тому +1

    Correction 4:15 where you mention that EXPOSE makes the port accessible, however EXPOSE only describes on which port your app is listening nothing more. Great video for the rest ❤

  • @xenalin1
    @xenalin1 9 місяців тому

    Bringing an "I watched an 8-min Docker video" certificate to your interview after only 7:02 mins watched is peek resume-padding.

  • @johannhospice5107
    @johannhospice5107 9 місяців тому

    I really needed this video 5 years ago. You explained it really really well 👍

  • @justsurajp
    @justsurajp 9 місяців тому

    @3:01 Does shutting down a container mean "deleting" a container?
    Because Stopping/Restarting a container does not lead to loss of data. The files created on the container's file system (thin layer on top of the image fs) are still accessible after a restart.
    Am I missing something?

    • @justsurajp
      @justsurajp 9 місяців тому

      Also @4:15, EXPOSE itself does not bind the port in the container layer to that of the external layer (localhost). The container needs to be spawned with the "publish" flag. Something like `docker run -p 8888:8080`
      which maps the port 8888 of the local machine to the port 8080 of the container layer; making it possible to reach localhost:8888 on your browser

    • @justsurajp
      @justsurajp 9 місяців тому

      So you "MAY" find out that @6:06 fails to load stuff, because of this missing flag

  • @PaulLembo
    @PaulLembo 9 місяців тому +1

    The description of hypervisor is 2:08 wrong. CPU and memory are not fixed on vSphere, the most popular hypervisor. Containers are great but don’t talk down the hypervisor to make Dock seem more magical.

  • @FaultyStreams
    @FaultyStreams 9 місяців тому

    As someone running Docker on many servers and Docker desktop in Windows this was a great video
    I'm amazed!

  • @MrsmokeAlot
    @MrsmokeAlot 9 місяців тому

    Superb i got so much out of this in such a short video, as someone who self studies often you can dig very deep into these concepts and im getting a better grasp!

  • @baburaju30
    @baburaju30 9 місяців тому

    Proud and shame of myself. It took 7 months to learn this. But he thought you in 8 mins. I used to be a Junior devops engineer. I know more than 90+ concepts. Now I am a SysAdmin.

  • @miversen33
    @miversen33 9 місяців тому

    Hey! I am doing a talk on docker next month at our local linux group and this just made my life easier lol. Thanks for that

  • @KousseilaMd
    @KousseilaMd 7 місяців тому

    with thus guy you get pretty interresting infomations plus a good laugh🤣🤣, love the content

  • @Linuxdirk
    @Linuxdirk 9 місяців тому

    If you print and frame the certificate your fellow admins will clearly notice it and both of you have a quick laugh and a short discussion on how good Fireship videos are.
    While the suits congratulate you but have no idea what’s this about.

  • @commenter19393
    @commenter19393 9 місяців тому +1

    Is Docker good for isolating the VM from the host? For example, if there was an app I want to isolate and run from a VM, can I do this with docker? Traditional VMs tend to have too much overhead, and they don’t have the ease of access I now realize docker has, like browsing the file system and directly running your own commands.

  • @cholasimmons
    @cholasimmons 9 місяців тому

    one of those must-have videos in your arsenal of tutorial vids 👌👌

  • @chochochon5464
    @chochochon5464 9 місяців тому

    Holly cow!!! I've never reviewed so many concepts in less than 8 minutes!!🤯🤯🤯🤯

  • @alexanderm6187
    @alexanderm6187 9 місяців тому

    What a shiny masterpiece! :) Thank you, Jeff!

  • @drewdodds8223
    @drewdodds8223 6 місяців тому

    I'm confused about the scaling 3:00. What is scaling and why is it scaling ? Your app's source code now lives in multiple servers (or more) and as people use it, the workload can take it b/c it's distributed?

    • @asaifaji
      @asaifaji 2 місяці тому

      I think he meant that the traffic is distributed. like in case one is overloaded then any other people that come after can be redirected to use another that are not overloaded using load balancer.

  • @Walter_
    @Walter_ 9 місяців тому +1

    omg im so glad i knew about 90% of this, else my brain would be fried right now

  • @AkaThePistachio
    @AkaThePistachio 9 місяців тому

    Crazy i lierally started building my own web scraper using selenium and fast api using docker to host it running inside of a dev container in the last week and now fireship decides to drop this

  • @meinbherpieg4723
    @meinbherpieg4723 9 місяців тому

    I am now officially a fireship certified, docker terminology knower. Thanks.

  • @larsleo7059
    @larsleo7059 9 місяців тому +1

    Nice video, would have loved it if you used Podman or similar as an example though to show, that containers are not monopolized by docker anymore and that the OCI is actually a thing :)

  • @donaldtrumpjr4455
    @donaldtrumpjr4455 3 місяці тому

    I fucking love this channel. Always makes me giggle at work.

  • @JohnSmithhh
    @JohnSmithhh 5 місяців тому

    Awesome! I finally understand Docker now, thannnnks!