lsns - list namespaces
lsns [-t TYPE]
Options you will use
-t TYPE- only this namespace type (net, pid, mnt, uts, ipc, user, cgroup, time)
Examples
$ sudo lsns -t netevery network namespace: the host one and one per container
Gotchas
- Without root you only see namespaces of your own processes.
Taught in
Try lsns in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.