runv shim will try to connect to containerd socket for each container,
sometimes when the shim is forked, the related namespace socket hasn't
been created yet, which makes shim failed to start.
This commit will ensure that when shim is started, the namespace
socket file is always prepared.
runv shim
will try to connect to containerd socket for each container, sometimes when theshim
is forked, the related namespace socket hasn't been created yet, which makesshim
failed to start.This commit will ensure that when
shim
is started, the namespace socket file is always prepared.Signed-off-by: Zhang Wei zhangwei555@huawei.com