How Fly.io uses Docker (without Docker)

Поділитися
Вставка
  • Опубліковано 13 жов 2024
  • Most users on Fly.io deliver their apps as Docker images. But we don't actually use Docker to run your application. How does that work?? In this video I'll take you behind the scenes of how Fly.io runs applications on fast-booting micro-VMs - without running Docker.
    Original blog post by Thomas Ptacek:
    fly.io/blog/do...

КОМЕНТАРІ • 101

  • @thedavymac
    @thedavymac 2 місяці тому +118

    What? An actually relatable human with a such a good understanding of their tech that they can crack jokes while educating??? All in 4 minutes?
    Bang on dude.
    More please!!!

  • @KentCDodds-vids
    @KentCDodds-vids 2 місяці тому +248

    Please make more videos

    • @flydotio
      @flydotio  2 місяці тому +59

      OK FINE

    • @DanCaddigan
      @DanCaddigan 2 місяці тому +16

      +1 to what Kent said. You made something relatively unapproachable seem relatively simple.

  • @bennihtm
    @bennihtm 2 місяці тому +35

    It's actually so refreshing to see a video from a company that's not just using tts! Kudos for explaining the topic so well, and making it interesting! There needs to be more of this!

  • @tt.kb_
    @tt.kb_ 2 місяці тому +35

    I didn’t particularly need any of this info but I’m so glad I stumbled on this video. Please make more, you are great at this.

  • @kainkamote917
    @kainkamote917 2 місяці тому +28

    Short, straight to the point, and informative. Keep it up.

  • @AnthonyDMays
    @AnthonyDMays 2 місяці тому +30

    What a fantastic video, I love this! Now I wanna go explore the Docker API to see how hard it would be to build this myself.

    • @flydotio
      @flydotio  2 місяці тому +6

      You should!!! It’s kind of awesome

  • @guzmonne
    @guzmonne 16 днів тому

    Please make more videos like this. Truly great work. And if she has a personal UA-cam channel or something, please share it. She's awesome.

  • @jjbetspro
    @jjbetspro Місяць тому +1

    It's her personality, I saw the "forgiven" ad on reddit. You're very good, now I'm hooked 😂

  • @salman.1st
    @salman.1st 2 місяці тому +2

    First: I don't need this. Second: I watched the video and I am impressed, I want to make videos for my own product as well!

  • @I_am_who_I_am_who_I_am
    @I_am_who_I_am_who_I_am 15 днів тому

    Omg a redhead girl with glasses talking about my favorite engineering topics in a very enthusiastic way. I'm in love. 😍

  • @mattmaloney5988
    @mattmaloney5988 2 місяці тому +4

    Nice to hear these things explained by someone who actually understands it.

  • @alexclark6777
    @alexclark6777 2 місяці тому +2

    Understandable, well presented, and some wonderfully human elements to the presentation without it being laced with memes. Other instructional YT'ers would do well to pay attention to this format. I'm looking forward to watching more.

  • @MarkGreenwood-t4o
    @MarkGreenwood-t4o 2 місяці тому +1

    Are you sure it's not pronounced "contai-NERD"? 🤓😆
    Why can't more people make complex technical topics this easy to understand? This is awesome.

  • @arnaudparan1419
    @arnaudparan1419 2 місяці тому +5

    hmm docker images contain more than just the files, there are informations about volumes, environment variables, etc How do you deal with that metadata? You parse it and translate it?

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

    This video clarifies my query about why do we need docker to run containers if all I want is isolation. Thanks 😊

  • @MrDinivini
    @MrDinivini 2 місяці тому +3

    We went full circle, chaps. VM -> containers -> Micro VMs.

  • @tristdrum
    @tristdrum 12 днів тому

    AnyCast implementation video too please! Great work! Thank you!

  • @bradpreston9872
    @bradpreston9872 2 місяці тому +3

    Phenomenal video! The explanation was so easy to follow.

  • @SteveDotNet
    @SteveDotNet 2 місяці тому +1

    Great information! Thanks! And definitely interested in hearing more about the AnyCast network.

  • @unplayr
    @unplayr 2 місяці тому +5

    Hi, nice explanation, thank you. I'm looking forward for the anycast video.

  • @hamadrehman853
    @hamadrehman853 2 місяці тому +1

    awesome video. piques my curiosity to play with images on my own

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

    Thank you for explaining it so well! Looking forward to see more videos to explain all the different pieces you covered.

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

    Sounds like a great approach. When hosting different customers software, you need stronger isolation than docker. I have to wonder what's the point of the docker image in the mix though? Might as well standardize on a zip file with a consistent startup script name. Is there any benefit to the dockerfile and image?

  • @pradeepbisht3397
    @pradeepbisht3397 2 місяці тому +19

    please make video on anycast

    • @flydotio
      @flydotio  2 місяці тому +8

      you got it friend

  • @ZeroCTRLX
    @ZeroCTRLX 2 місяці тому +3

    great job, however, i fail to understand what the actual benefits are over existing solutions?

    • @ElmerGLue
      @ElmerGLue 2 місяці тому +1

      It isn’t a new solution, it is used within AWS for their cloud services.

  • @ryandotfurrer
    @ryandotfurrer 2 місяці тому +1

    Incredibly well explained, thank you for this!

  • @chrislanejones
    @chrislanejones 2 місяці тому +3

    Nice, never heard of Firecracker microVM before.

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

      me neither, in the beginning i thought it will be about kubernetes

  • @LokendraSingh-42
    @LokendraSingh-42 2 місяці тому +5

    2:11 Because we are fancy😂

  • @moalshakoush8720
    @moalshakoush8720 2 місяці тому +1

    This video was so informative and clear, love it. Please make more videos!

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

    Really interesting! Great job explaining this.

  • @zulhilmizainudin
    @zulhilmizainudin 19 днів тому

    Would love to see the anycast network video!

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

    love your energy! sending love from switzerland

  • @xomiachuna
    @xomiachuna 2 місяці тому +1

    Great explanation, looking forward to the anycast video

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

    Nice good to know. Did you planned you system around this approach or did you used docker in the beginning and wanted to find a better way. If so are they any statistics created which show the gain of perfomance by using those firecracker micro vms?

  • @privat9445
    @privat9445 2 місяці тому +2

    You are a great communicator

  • @GyanUjjwal-m4u
    @GyanUjjwal-m4u 2 місяці тому

    This was very interesting... using a vm to run oci images... I might use that for any of the projects I will make

  • @rvrmarco
    @rvrmarco 2 місяці тому +1

    1972: guys I can run a computer inside a computer, I called that a virtual machine
    1995: guys I created a language that will take a process and run in isolation, I think I'll call this a virtual machine and you can run it inside an actual virtual machine
    2010: guys running VMs is too heavy, but we can run stuff in containers, cgroups will ensure isolation on shared computational resources
    2024: guys, why don't we run each container inside its own VM, this way they won't need to compete for resources and each VM will even be geographically isolated
    2050: I want to run this quantistic simulation of the universe on an isolated universe

    • @username7763
      @username7763 2 місяці тому +1

      Funny thing is, the Windows world was ahead of Linux. Windows XP / 2003 added Job objects which is the equivalent to cgroups. Only thing Windows had to add was namespace isolation. And namespace isolation is the part of Docker I don't like, processes should be able to communicate over more than sockets.

    • @rvrmarco
      @rvrmarco Місяць тому

      @@username7763 It is sometimes annoying and I'm too ignorant to know for sure why both systems where designed that way. My guess is that this was done to prevent privilege escalation attacks from within a container

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

    Like the explanation, curious how this is different than Proxmox LXCs?

  • @amiralirobatjazy7274
    @amiralirobatjazy7274 2 місяці тому +1

    Tnx for your great content please make a video about anycast

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

    Can this approach be used to convert Docker images to other containers,like LXC? Is there any yool that will do this filesystem unpacking?

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

    Definitely can’t wait for the next one ❤

  • @frzen
    @frzen 2 місяці тому +3

    Thanks I would be interested in the networking video maybe a little bit more in depth

  • @runescapes
    @runescapes 2 місяці тому +2

    Annie is awesome, great video

  • @simeongriggs543
    @simeongriggs543 2 місяці тому +26

    Wait, it's NOT pronounced "contai-nerd"?!

    • @vaisakh_km
      @vaisakh_km 2 місяці тому +1

      😂 that a funny way to say it..

    • @hydrokat143
      @hydrokat143 2 місяці тому +1

      I will start pronouncing it this way.

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

      Yeah because the d stands for daemon

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

    Ok, it was cool. Subscribed for more videos 😂

  • @chantastic
    @chantastic 2 місяці тому +3

    great video! killer intro. love it. moar pls.

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

      Thanks Michael!!!

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

    How would you combat volume mounting on another container in Docker? Because it's hell

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

    Wow, good-looking and smart. You have my attention

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

    We want more!

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

    Wow this was informative. Need more videos 😁

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

    damn!! will check documentation today.

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

    I need to see if I can deconstruct this Docker stuff and try this on top of SmartOS Linux bhyve images

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

    I will never pronounce it like that, thank you very much

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

    Why SHA256 tho? Is it safe?

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

    how comes its sohard to rsync if it's an actual vm?

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

    Please make video explaining anycast

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

    Please, I need to know more!!! 🧠🧠🔥🔥

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

    Cool, more like this please.

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

    Needed this video

  • @capability-snob
    @capability-snob 2 місяці тому

    That's a great architecture

  • @Yusuf-ok5rk
    @Yusuf-ok5rk 2 місяці тому +1

    i love the video. this video is 4 minutes and it is okay but for longer videos can you make it like Y Combinator (their youtube) style right side panel topic progression thingy? so we can watch/listen to while a bit idle. better for multitasking and such.

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

      Thats a cool suggestion, we'll keep that in mind!

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

    Great vid! Make more!

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

    Very good!

  • @rackbites
    @rackbites Місяць тому

    Superstar!

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

    can you compare it to lxd

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

    I'm a bit confused, why do you have docker in the picture when you have your own registry.
    You can just build your own image builder at this point

    • @flydotio
      @flydotio  2 місяці тому +1

      It wouldn’t benefit us to have a custom image builder when Docker does that part well, no need to reinvent that wheel. Our registry is still a Docker registry, just one we control. The blog post explains this in more detail if you wanna learn more.

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

    Great video

  • @Matusevichfilms
    @Matusevichfilms Місяць тому +1

    anycast yesss

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

    can you have Thomas on the show?

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

      I can try to coerce him

  • @Voltra_
    @Voltra_ 2 місяці тому +1

    Docker without docker is literally the dream for people who like me hate working with docker

    • @flydotio
      @flydotio  2 місяці тому +2

      Something else you may want to check out: Podman podman.io/
      Podman is CLI-compatible with Docker and runs Docker images without Docker using the latest and greatest in Linux user-level namespace technology. I personally use Podman desktop when/where I can, but I have a few usecases that need me to use real Docker (mostly for uploading AI images with Replicate's Cog).

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

      @@flydotio Yeah podman fixes quite a few problems with docker.

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

    really cool

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

    Interesting 😮

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

    Communication 101.

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

    Amsterdammer speaking English there at the end...

  • @EduardoCruzFreelancer
    @EduardoCruzFreelancer 2 місяці тому +1

    Who is she? I wanna subscribe to whatever she talks about daily!

  • @HugoBernardo-m4l
    @HugoBernardo-m4l 14 днів тому

    I´m listen(er)ing

  • @amir-ziaei
    @amir-ziaei 2 місяці тому

    Please listen to Kent

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

    container images*

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

    Commenting "comment below"

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

    so, why not just do VMs , and we ship the app pre-installed on them ... or just install them like we used to do in the good old days

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

    ContaiNERD

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

    Please Make more videos

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

      Only cuz you said so!