Build your own Container Runtime

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 60

  • @mischaadjei
    @mischaadjei ปีที่แล้ว +11

    Awesome! This is by far one of the best explanations to understand containers from scratch. In science, for example, a derivation of a formula can help to get a better understanding of itself. Your approach is in my opinion comparable to that and has a mindblowing effect for me.

  • @paxdriver
    @paxdriver 16 วันที่ผ่านมา

    I love love love that you step through figuring out how how to do it, not just showing the outcome and running through the final answer. Showing the error, how to figure that out, then the next error, then how to find the reason for that, is teaching everyone to fish. This kind of education is way underrated in this day and age.

  • @SaiGautam-i2k
    @SaiGautam-i2k 10 ชั่วโมงที่ผ่านมา

    Damn! thanks for this. Teaching by association - you walked me through what I was familiar with and showed me how it works. I glossed over the C and Go parts, but this will help me retain the analogy to make my docker containers more efficient.

  • @fullstack_journey
    @fullstack_journey ปีที่แล้ว +19

    Mind blown with how chroot just changes a pointer, amazing video!

  • @totalscene3274
    @totalscene3274 5 หลายเดือนก่อน +6

    Your approach of demystifying and investigating the source code of the linux kernel is unique! Thanks a lot for this! I know that you guys are here on a mission but I'd love to see more from you regarding the linux and unix-like kernels.

    • @EarthlyTech
      @EarthlyTech  5 หลายเดือนก่อน

      You are welcome! What would you like to see?

  • @MonsterSmart
    @MonsterSmart ปีที่แล้ว +3

    this is awesome - Researching it never really alligned with all what I do professionally so it is really cool to see it demonstrated by someone who had time to really do research about it and present in easy digestable form. Great work mate.

    • @EarthlyTech
      @EarthlyTech  ปีที่แล้ว

      Awesome, thank you!
      I was fun.

  • @PepePlaca-t6s
    @PepePlaca-t6s 11 หลายเดือนก่อน +2

    appreciate by heart this. So very nice to understand containers. simplicity comes at the lowest levels

    • @EarthlyTech
      @EarthlyTech  11 หลายเดือนก่อน

      You're very welcome!

  • @prabhic
    @prabhic หลายเดือนก่อน

    Thank you simple and clear explanation

  • @ohmanbeautiful
    @ohmanbeautiful หลายเดือนก่อน

    Super cool, super helpful! Thanks!

  • @osbaldotheVtenman
    @osbaldotheVtenman 2 หลายเดือนก่อน

    Great video! Going through the comments, it seems like people love to comment before the video ends😂

  • @mr_wormhole
    @mr_wormhole ปีที่แล้ว +2

    Amazing talk, love it, I always love to learn inner nuances of how things work even though I am using these high-level stuff for so long

  • @istipb
    @istipb 11 หลายเดือนก่อน +3

    Great content. Btw docker doesnt use chroot instead it uses pivotroot. Chroot has security bypass problem which pivotroot doesn't have.

    • @EarthlyTech
      @EarthlyTech  10 หลายเดือนก่อน +1

      Thanks for watching!
      Yeah, I mention pivot root in the talk actually, although only briefly.

  • @AkumetsuOne
    @AkumetsuOne ปีที่แล้ว +1

    thanks a lot, this helps to understand all the play with chroot, container. thanks a lot.

  • @adiSuper94
    @adiSuper94 ปีที่แล้ว +1

    This is gold!

  • @rogerscubadiver
    @rogerscubadiver 8 หลายเดือนก่อน

    Very nice and detail dive into containers

    • @EarthlyTech
      @EarthlyTech  7 หลายเดือนก่อน

      Thank you so much 😊

  • @Sdirimohamedsalah
    @Sdirimohamedsalah 9 หลายเดือนก่อน

    Thank you for providing the source code . I’m curious to see if it’s create it own names space

  • @dkr1998
    @dkr1998 วันที่ผ่านมา

    any good resource to learn low level docker ?

  • @iwswordpress
    @iwswordpress 4 หลายเดือนก่อน

    Excellent!

  • @m4rt_
    @m4rt_ 11 หลายเดือนก่อน

    I would assume that stuff like venv would do something similar, though probably not as fancy as using chroot.

    • @EarthlyTech
      @EarthlyTech  11 หลายเดือนก่อน +1

      There are a lot of similarities! But chroot is a syscall, and venv I think is just changing PATH to achieve a similar effect while leaving the file system in place. ( Or at least this is my understanding )

  • @spoonikle
    @spoonikle 3 หลายเดือนก่อน

    thank you. ❤

  • @vaibhavpandey9779
    @vaibhavpandey9779 หลายเดือนก่อน

    Woah!

  • @ade5324
    @ade5324 7 หลายเดือนก่อน

    so i guess, compared to using chroot , the only beneficial abstraction docker provides is layers.
    docker doesn't provide features like namespaces, cgroups, its already present in the linux kernel.

    • @EarthlyTech
      @EarthlyTech  7 หลายเดือนก่อน

      No Docker doesn't provide namespaces or cgroups. But it brings them together with pivotroot and layers and etc into a hopefully cohesive package.

    • @ade5324
      @ade5324 7 หลายเดือนก่อน

      @@EarthlyTechbruh that what i said, man

    • @MagnumCarta
      @MagnumCarta 3 หลายเดือนก่อน

      @@ade5324 Deadass bruh. No cap. Braaap.

  • @whatthefunction9140
    @whatthefunction9140 4 หลายเดือนก่อน

    It's just 2 dwarfs in a trench coat

  • @pedroamarante576
    @pedroamarante576 4 หลายเดือนก่อน +1

    I mean a VM is also "just" a process.
    Weird that your video focus on the sandbox aspect of docker, as for me its nothing unique about it. Whats unique about docker is the ability to distribute, allowing your image to run in any machine.
    But maybe I'm wrong, im no docker pro

    • @MagnumCarta
      @MagnumCarta 3 หลายเดือนก่อน +1

      What makes Docker unique is it manages setting up resource quotas and namespaces for you automatically. The union filesystem (typically overlayfs) is what defines the image. Its really the management of all three of these things that made Docker so popular as a container runtime. The union filesystem is basically just a fancy tar.gz file. This is broken up into "layers" to speed up the image build process since different portions of the image can be transferred at different rates of time. The layering also minimizes the amount of storage used by allowing multiple images to use the same base layers like alpine.

  • @suzieq8379
    @suzieq8379 3 หลายเดือนก่อน

    This person worked on my windows 8.1 and he installed Linux on my toshiba and all kinds of remote settings. he also has me connected to a submask network local , after I knew this I bout me a macbook, now he has installed Unix Chroots,, it says I have flash storage and in disk utility it says I'm connected via PCI Im not sure but I think he has installed a network card on my toshiba which transferred over to my macbook when I connected my external disc after being in windows I guess it transferred over to mac.. I am connected to aws amazon which I didn't do.. I think I am on a virtual machine or he is one, he is using my local IP address so he has pairing my mac with iphone and ipad he is the adminstrator over all the stuff I need to deleted, its all executables, can you help me? oh my bootup start is a photo, but i guess that is what chroots is maybe I dunno just found it this morning I want out of it how??

    • @MagnumCarta
      @MagnumCarta 3 หลายเดือนก่อน +1

      The disk utility in Windows will not show you network information. PCIe is a physical form factor. In this context it means that your flash storage is communicating over PCIe. Your drive is what is known as an NVMe drive and its basically a very fast SSD.
      If you need to delete some files but something is remotely blocking you can boot the computer into safe mode without networking. Or you can just power off your router to disable internet access.

    • @suzieq8379
      @suzieq8379 3 หลายเดือนก่อน

      @@MagnumCarta I have found there are a optical disk image MS fat 32 I think I think Im a virtual machine with windows server and an active directory on my mac does this make sense, I can't download nothin I dont know how to erase it he has the thing that looks like r-r-x-xx id have to look it back up to give u the exact thing but it says to override and commands with sudo I don't even have a file systems its blank ..xml markup document and unix installed can u help me thank you so much for responding

    • @suzieq8379
      @suzieq8379 3 หลายเดือนก่อน

      @@MagnumCarta I try to change permissions and it will not let me

    • @MagnumCarta
      @MagnumCarta 3 หลายเดือนก่อน

      @@suzieq8379 FAT32 is filesystem format typically used for USBs or other portable mass storage media (e.g. external hard drives). To check if you're a virtual machine on Windows press Start -> type in "run" -> in the new pop up type in "msinfo32". If the System Manufacturer shows VMWare or if you see "a hypervisor has been detected" in the pop up then you're in a virtual machine. For Mac you can open the terminal and type in "ioreg -l | grep -i 'Vendor Name'".

    • @MagnumCarta
      @MagnumCarta 3 หลายเดือนก่อน +1

      @@suzieq8379 When you're saying you think you have a "Unix installed" try running cat /etc/os-release and paste in the output in the comment. This will tell me the distribution it believes it is. Right now its all over the place. I'm hearing about a Windows 8.1 machine that got some stuff installed then a Mac and somehow the Mac is connected to Active Directory and then Unix is installed and there's a blank XML file. Right now the info is all over the place. Makes it hard to troubleshoot.

  • @ArthurKhachaturov
    @ArthurKhachaturov 3 หลายเดือนก่อน

    did i really waste 30 minutes listening about how chroot works?