mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-29 11:08:02 +00: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:
parent
b9c47fa40b
commit
e46a06ecf6
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue