虽然不太容易去注意到,但 httpbin 和 sleep 容器实际上重用了 pause 容器的 net、uts 和 ipc 命名空间!我们可以用 crictl 交叉检测验证:
1 # Inspect httpbin container.2 $ sudo crictl inspect dfb1cd29ab7503 {4 ...5 "namespaces": [6 {
1 # Inspect httpbin container.
2 $ sudo crictl inspect dfb1cd29ab750
3 {
4 ...
5 "namespaces": [
6 {
服务热线
1391-024-6332