一个Docker附加参数引起的网络服务异常
This mount point is unbindable. Like a private mount point,this mount point does not propagate events to or from peers. In addition,this mount point can’t be the source for a bind mount operation. 找到原因 由于启动容器时对/run目录没有使用MS_SHARED传播类型,容器重启后,之前创建的namespace文件会因/run/netns产生的`peer group`内其他peer的引用计数不能正常删除(Device or resource busy) umount(“/run/netns/ns1”,MNT_DETACH) = -1 EINVAL (Invalid argument) unlink(“/run/netns/ns1”) ???????????= -1 EBUSY (Device or resource busy) (编辑:好传媒网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |