Difference between revisions of "Namespaces Linux"

From Teknologisk videncenter
Jump to: navigation, search
(Created page with "==PID namespaces== <source bash> heth@h5:~$ ps -edalfZ |grep -v -P "unconfined" LABEL F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TT...")
 
m (PID namespaces)
Line 1: Line 1:
 
==PID namespaces==
 
==PID namespaces==
<source bash>
+
<source: bash>
 
heth@h5:~$ ps -edalfZ |grep -v -P "unconfined"
 
heth@h5:~$ ps -edalfZ |grep -v -P "unconfined"
 
LABEL                          F S UID          PID    PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD
 
LABEL                          F S UID          PID    PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD
Line 12: Line 12:
 
docker-default (enforce)        4 S lxd      224292  224273  0  80  0 - 659309 -    05:30 ?        00:00:07 mongod --bind_ip_all
 
docker-default (enforce)        4 S lxd      224292  224273  0  80  0 - 659309 -    05:30 ?        00:00:07 mongod --bind_ip_all
 
</source>
 
</source>
 +
 
=Links=
 
=Links=
 
*[https://docs.redhat.com/en/documentation/red_hat_enterprise_linux_atomic_host/7/html/overview_of_containers_in_red_hat_systems/introduction_to_linux_containers#linux_containers_architecture Overview of Linux containers]
 
*[https://docs.redhat.com/en/documentation/red_hat_enterprise_linux_atomic_host/7/html/overview_of_containers_in_red_hat_systems/introduction_to_linux_containers#linux_containers_architecture Overview of Linux containers]
 
[[Category:Linux]][[Category:Docker]]
 
[[Category:Linux]][[Category:Docker]]

Revision as of 05:11, 20 September 2024

PID namespaces

<source: bash> heth@h5:~$ ps -edalfZ |grep -v -P "unconfined" LABEL F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD snap.docker.dockerd (enforce) 4 S root 73714 1 0 80 0 - 385638 - Sep03 ? 00:01:53 dockerd --group docker --exec-root=/run/snap.docker --data-root=/var/snap/docker/common/var-lib-docker --pidfile=/run/snap.docker/docker.pid --config-file=/var/snap/docker/2932/config/daemon.json snap.docker.dockerd (enforce) 0 S root 73945 73714 0 80 0 - 320637 - Sep03 ? 00:50:35 containerd --config /run/snap.docker/containerd/containerd.toml --log-level error /usr/sbin/dhcpd (enforce) 4 S dhcpd 166607 1 0 80 0 - 28778 - Sep14 ? 00:00:00 dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf /etc/dhcp/dhcpd.conf /usr/sbin/mysqld (enforce) 4 S mysql 166837 1 0 80 0 - 446461 - Sep14 ? 00:21:56 /usr/sbin/mysqld snap.docker.dockerd (enforce) 0 S root 223483 1 0 80 0 - 179891 - 05:20 ? 00:00:00 /snap/docker/2932/bin/containerd-shim-runc-v2 -namespace moby -id 15990ed097e96d0d2e541d1b0655538b4a04108073dd740f7bedc79625b8c388 -address /run/snap.docker/containerd/containerd.sock docker-default (enforce) 4 S lxd 223503 223483 0 80 0 - 658459 - 05:20 ? 00:00:10 mongod --bind_ip_all snap.docker.dockerd (enforce) 0 S root 224273 1 0 80 0 - 179891 - 05:30 ? 00:00:00 /snap/docker/2932/bin/containerd-shim-runc-v2 -namespace moby -id dcd48cdcb73bcc8c0f98027c9e94bdf182140f98156f37b62ff26d06252c22ef -address /run/snap.docker/containerd/containerd.sock docker-default (enforce) 4 S lxd 224292 224273 0 80 0 - 659309 - 05:30 ? 00:00:07 mongod --bind_ip_all </source>

Links