I am trying to see how PID works and learn containers
I have MTPuTTY installed and connected to a LINUX server
lsns -t pid gives me below
4026531836 pid 3 14687
Open A duplicate session and create a namespace using unshare
unshare -p -f --mount-proc /bin/bash
sleep 2000 &
sleep 2100 &
lsns -t pid //gives me a new PID namespace
comeback to initial session created
when I execute lsns -t pid
I am only seeing the root PID namespace though I created a namespace using unshare.
Is this because I opened a duplicate session ?
How could I actually see this working in PUTTY ?