mirror of
https://github.com/containers/podman.git
synced 2025-09-27 16:54:42 +08:00
Fix "rootless-cni-infra + runc fails with ENODEV"
runc always expect "bind" to be present in opts even when the type is "bind". Fix #7652 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
@ -255,7 +255,7 @@ func startRootlessCNIInfraContainer(ctx context.Context, r *Runtime) (*Container
|
||||
Destination: "/etc/cni/net.d",
|
||||
Type: "bind",
|
||||
Source: r.config.Network.NetworkConfigDir,
|
||||
Options: []string{"ro"},
|
||||
Options: []string{"ro", "bind"},
|
||||
}
|
||||
g.AddMount(etcCNINetD)
|
||||
|
||||
|
Reference in New Issue
Block a user