Тёмный

Container Security Fundamentals - Linux Namespaces (Part 1): The Mount Namespace 

Datadog
Подписаться 23 тыс.
Просмотров 7 тыс.
50% 1

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@nekron3x
@nekron3x 6 месяцев назад
So simple yet effective demonstration! Always struggled to understand concept of namespaces. After the findmnt command I was like "Aha! I got it now". Thank you very much!
@gemini_537
@gemini_537 3 месяца назад
Gemini 1.5 Pro: This video is part one of a series on container security fundamentals. In this part, the video talks about Linux namespaces and how they are used to isolate resources on a host. The video starts by explaining what Linux namespaces are and the different types of namespaces that are available. There are eight namespaces available in total, but only six of them are enabled by default when using Docker containers. These six namespaces are mount, network, PID, IPC, UTS, and cgroups. The video then goes into detail about how to use the `lsns` command to list the namespaces on a machine. This command shows the number of processes using a given set of namespaces. The video also explains how to use the `findmnt` command to view how the mount namespace has been set up for a container. This command shows all of the information about the mounted file systems for that process. Finally, the video talks about how to use the `NS enter` program to interact with different Linux namespaces. This program allows you to run commands in the namespace of a process. This can be useful for inspecting a container on a machine without having to use Docker tooling. The next video in the series will go into more depth about some of the other namespaces that are used by Linux containers.
@arunreddy1436
@arunreddy1436 Год назад
really great, thanks for the internals Sir
@k0nepalli313
@k0nepalli313 Год назад
Very informative
@Southpaw101
@Southpaw101 Год назад
This is great
@harshvardhansingh3241
@harshvardhansingh3241 5 месяцев назад
Heyy, I have Ubuntu in my windows(WSL2), and when I check the namespaces after running the container nothing added in the list and when I ran the findmnt command using the container PID it said No Such file or directory, what can be the reason?
@esantix
@esantix 5 месяцев назад
but I have the same doubt. Not really sure
@kvv6452
@kvv6452 4 месяца назад
How did you get the container pid ? and where did you check the namespaces ?
Далее
ТАРАКАН
00:38
Просмотров 322 тыс.
KaToto's TV is live!  SLS UPDATE FOR WH
8:00:17
Virtual Machines vs Containers
8:57
Просмотров 904 тыс.
Build your own Container Runtime
37:37
Просмотров 9 тыс.
Linux File System/Structure Explained!
15:59
Просмотров 4,1 млн
Container Security Explained
6:51
Просмотров 63 тыс.