unshare
Execute a command in new user-defined namespaces. More information: <https://www.kernel.org/doc/html/latest/userspace-api/unshare.html>.
Install
- All systems
-
curl cmd.cat/unshare.sh
- Debian
-
apt-get install util-linux - Ubuntu
-
apt-get install util-linux -
Alpine
-
apk add util-linux - Arch Linux
-
pacman -S util-linux - Kali Linux
-
apt-get install util-linux - CentOS
-
yum install util-linux - Fedora
-
dnf install util-linux - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install util-linux - OS X
-
brew install util-linux - Raspbian
-
apt-get install util-linux - Docker
-
docker run cmd.cat/unshare unsharepowered by Commando
Execute a command in new user-defined namespaces. More information: <https://www.kernel.org/doc/html/latest/userspace-api/unshare.html>.
-
Execute a command without sharing access to connected networks:
unshare --net command command_arguments -
Execute a command as a child process without sharing mounts, processes, or networks:
unshare --mount --pid --net --fork command command_arguments
© tl;dr; authors and contributors