Devkant Swargiary (@devkant21) header
Devkant Swargiary (@devkant21) profile picture

A speck of dust

Joined June 2010
Photo by Devkant Swargiary (@devkant21)Photo by Devkant Swargiary (@devkant21)Photo by Devkant Swargiary (@devkant21)Photo by Devkant Swargiary (@devkant21)Photo by Devkant Swargiary (@devkant21)Photo by Devkant Swargiary (@devkant21)Photo by Devkant Swargiary (@devkant21)Photo by Devkant Swargiary (@devkant21)Photo by Devkant Swargiary (@devkant21)Photo by Devkant Swargiary (@devkant21)
Devkant Swargiary retweeted
What are Linux Mount Namespaces and How Containers Use Them 🧐 When you create or modify a file in one Docker container, the change is usually not visible in another. However, this is not because these two containers use different mount (mnt) namespaces. Each Linux container's root filesystem typically resides in a dedicated folder on the host. Thus, modifications to such filesystems would be isolated from each other even w/o the use of mount namespaces - simply because these are different folders. At the same time, if you create a couple of mount namespaces manually with the "unshare --mount" command, changes to files in a certain folder in one namespace will be visible in the other (see the /etc example in the diagram). What a mount namespace isolates is the list of mount points visible by processes in the namespace - i.e., the mount table. For our example it means that if you mount a drive or bind-mount a folder in one namespace, its contents won't appear in another (see the /mnt example in the diagram). But how is it relevant for containers? Modern containers "switch" to their dedicated rootfs using the pivot_root() system call, which changes the / mount. It is a much more reliable mechanism than "simple" chroot. But what you absolutely don't want to do is call pivot_root() from the main mount namespace of the host - it'd change the root mount not only for the container process but also for all other processes currently running on the host 💥 Hence, each container should reside in its own dedicated mount namespace. Read more about how container filesystem works in this hands-on tutorial labs.iximiuz.com/tutorials/c…
8
81
1
590
25,143
Education in Greece for Golden Visa Families Greece offers a blend of free public schooling, renowned private institutions, and globally recognized universities — all within a safe, culturally rich European setting. substack.com/@ikousthubha/no…
1
1
56
Healthcare and Air Quality in Greece Greece offers more than just a residence permit — it offers a healthier, calmer, and more sustainable lifestyle. Whether it’s breathing in fresh sea air or accessing modern hospitals with minimal hassle. substack.com/profile/4074948…
1
1
34
Devkant Swargiary retweeted
Hello everyone! This is my second blog which is about "Designing a Personal Portfolio Website using Figma." Please check it out on the link below and provide your valuable feedback. Thank You! #webdesign #webdevelopment #figma krishi34.hashnode.dev/design…
1
2
Devkant Swargiary retweeted
unpolished object displacement
Devkant Swargiary retweeted
Mathematics. This humor, widely circulating on the Web, may appeal to mathematicians.
49
428
63
2,920
Devkant Swargiary retweeted
ALWAYS try to get icons, logos, and illustrations in SVG format for your website. SVGs are scalable, they will always look sharp no matter how much you scale them. SVGs are also faster and have smaller file sizes compared to PNGs #webdevelopment #webdev #100DaysOfCode
1
4
12
Devkant Swargiary retweeted
React Tutorial - File Structure of a React App youtu.be/EDV8BnbbXhA A proper understanding of the directory Structure of any project gives us the ability to manage our project easily as and when it grows.
1
2
Devkant Swargiary retweeted
Avoid polluting your React app with TONS of useless nodes. Replace these pointless containers with React.Fragments to avoid dealing with unnecessary styling and accessibility issues. It's EASY, simply replace <div> with <>. #Reactjs #javascript #100DaysOfCode #100Devs
1
6
11
Devkant Swargiary retweeted
Listen for free "Vishnu Avatars - Introduction" audiobook on @Gumroad devadutta108.gumroad.com/l/Y…
1
2
Devkant Swargiary retweeted
I started providing Astrology Free Courses @gumroad from 1st August 2021. I am happy with the response. Check the below link and find out the treasures. app.gumroad.com/devadutta108
1
9
18