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.
我的容器在第二次运行时没有启动,因为 /var/run/ 中遗留了一个 pid 文件。
我正在考虑在 tmpfs 上安装 /var/run/ 是前进的方向,但这需要容器具有运行特权。
有没有更好的方法来处理 pid (和其他临时)文件?