6:30 -- ldd command (bash dependencies) Ok, thank you 👍 Nice video
@gemini_5378 ай бұрын
Gemini 1.5 Pro: This video is about chroot and how it relates to containers. The speaker explains what chroot is and why it is useful for building systems. Then he goes over why it is not the most useful tool for developers on a day-to-day basis. Finally, he explains how chroot relates to containers. In the video, the speaker says that chroot is a command on the Linux terminal that allows you to set the root directory for a process. He says that it is not recommended to use chroot by itself because it is difficult to use and there are better options available, such as containers. However, he says that chroot is a core technology that containers leverage. Containers use a technology that is built on top of chroot, but it is more secure. The speaker then goes into a demonstration of how chroot works. He explains that when you log in to your computer, your root directory is the slash (/). This directory contains many important folders, such as bin and home. Chroot allows you to change the root directory to a different directory. For example, you could use chroot to change the root directory to /test. This would make the /test directory the new root directory. Any files or folders that are outside of /test would not be accessible. The speaker then explains why chroot is not a very usable tool for developers on a day-to-day basis. He says that it is difficult to use because you need to copy all of the dependencies that a program needs into the new root directory. This can be time-consuming and error-prone. Finally, the speaker explains how chroot relates to containers. Containers are like chroot in that they allow you to create a fake root directory. However, containers are more secure than chroot because they isolate the process from the rest of the system. The speaker says that he will be creating a series of videos about containers called "containers the hardest way". In these videos, he will explain how containers work from the ground up.
@NullLabs8 ай бұрын
Thanks for watching! Next you should automatically build a timeliness for me!
@binsitt Жыл бұрын
Wow, that is one beautiful CLI! What program is it?
@NullLabs Жыл бұрын
mostly I just use the default terminal that comes with whatever linux distro I use (mostly ubuntu) though I have just switched my main desktop to Arch and as it's main terminal is the worst I have been using wezterm and quite like it so far. I have been using zsh wilth github.com/romkatv/powerlevel10k theme! Thanks for watching!
@anonymousanonymous-ok3nn2 жыл бұрын
I like the way you explain things. I went through the same way over the past years getting Linux packages to run, especially many EDA tools that are released as binaries. Sometimes I put it on a system with newer GLIBC it breaks. Some other day I update QT from 4.8.2 to 4.8.4 it breaks. Initially I just grab the source code of the dependencies, compile them and put them alongside the application, and use LD_LIBRARY_PATH to override them. This improved the situation of something breaking, from after every pacman -Syu/apt upgrade, to every once a while when the dependencies changes become unmanageable (e.g. the GLIBC is no longer compatible and I need to recompile everything all together against the old GLIBC and override them). One day I had this idea to just put the entire OS root, with the necessary libraries as of TODAY when my application still runs, into a chroot. Whenever I need to run something, I just chroot into it and that’s it. I even had Ubuntu LTS on my daily updating Arch. Then I heard of Docker and I realized that’s exactly what I have been seeking for.
@NullLabs2 жыл бұрын
Thanks dude! And thanks for such a detailed post! it is an awesome companion to the video! very awesome experience! Thanks for sharing that with the community!
@duckhorse25633 жыл бұрын
Thank you.
@NullLabs3 жыл бұрын
Any time! hopefully in the spring I can get to my "containers the hardest way" class where we build a container from the ground up without using docker! got to get my current kubernetes class done and out of the way first though! Thanks for watching and sharing! I'm glad it was helpful!
@MertMusaTemel Жыл бұрын
you have the playlist, right?
@NullLabs Жыл бұрын
I have one playlist on containers. though I have not done the one where we build a container from the ground by hand as there did not seem to be a lot of interest but if you are interested I would be more then happy to!
@brandonphilander661 Жыл бұрын
@@NullLabsdefinitely interested.
@NullLabs Жыл бұрын
@@brandonphilander661 kzbin.info/aero/PL5JFPVMx5WzXB-NlH13_G8R8dgfz564uo This is too the containers. This fall/winter I will get the advanced class on containers out. Thanks for the interest!
@NullLabs Жыл бұрын
kzbin.info/aero/PL5JFPVMx5WzXB-NlH13_G8R8dgfz564uo As there seems to be a bit of interest now! Thanks for commenting! I'll look to get the more advanced videos out this fall winter!
@NullLabs Жыл бұрын
kzbin.info/aero/PL5JFPVMx5WzXB-NlH13_G8R8dgfz564uo As there seems to be a bit of interest now! Thanks for commenting! I'll look to get the more advanced videos out this fall winter!
@frvo2 жыл бұрын
ahahah! I've subscribed and I liked the video... But I'm also for science!!
@NullLabs2 жыл бұрын
Awesome! Thank you! I know that the content I cover can be a bit dull, but I do try and spice it up where I can :)
@Sindarin7212 жыл бұрын
Either this video was never followed-up or the link to the superseding knowledge was never posted. Either way, follow through.
@NullLabs2 жыл бұрын
Hey, I'm glad you liked the amount of work I go through to bring you free education that you would help to make the channel better. I do this in my spare time and sometimes it can be hard to remember 6 months later to leave a link. Please next time just ask nicely and I am happy too. I have some more videos on this. though I need to make even more as this just goes over the very high level... and we will be digging into more depth, eventually. Feel free to watch if you like here is a playlist: kzbin.info/aero/PL5JFPVMx5WzXB-NlH13_G8R8dgfz564uo I went back and made a introduction as there where so many people confused by the in-depth. so I had to go back and cover it. Will be releasing more when I get to it.
@Driver_X_6 ай бұрын
Jesus... What a douche you are.
@dejanualex Жыл бұрын
Where's the part in which you actually show how chroot works ??
@NullLabs Жыл бұрын
when enough people ask!
@firstwolfplusАй бұрын
Clicked off once I saw the death wish coffee sticker on your laptop. Do better, don’t support documented hateful brands
@NullLabsАй бұрын
Do better. See that brand in a video made in the last 3 years? Thanks for jumping to conclusions based on a single old video, and have a great rest of your year!