Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在启用用户命名空间的情况下运行,我需要以 root 用户身份运行特定容器(容器需要能够从内部执行 Linux 挂载命令)。
启用命名空间后,如何以特权模式运行特定容器?
找到了答案...--userns host在 docker run 命令上设置
--userns host