我正在尝试使用linux命名空间.特别是pid命名空间.
我以为我用bash测试了一些东西但遇到了这个问题:
unshare -p /bin/bash bash: fork: Cannot allocate memory
从那里运行ls给了一个核心转储.退出是唯一可能的事情.
它为什么这样做?
linux bash linux-namespaces
bash ×1
linux ×1
linux-namespaces ×1