
此后,
--ipc=host和
--ipc=container:id选项已添加到Docker
create和
run命令中以共享IPC资源。
--ipc="" : Set the IPC mode for the container, 'container:<name|id>': reuses another container's IPCnamespace
‘host’: use the host’s IPC namespace inside the container
IPC与主机
docker run --ipc=host <image>
IPC与另一个容器
docker run --ipc=container:<id> <image>
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)