1
0
mirror of https://github.com/lxc/crio-lxc.git synced 2026-02-05 09:45:04 +01:00

Fix /dev tmpfs mount.

Signed-off-by: Ruben Jenster <r.jenster@drachenfels.de>
This commit is contained in:
Ruben Jenster
2021-04-30 23:30:16 +02:00
parent a61a888a5c
commit 32898d7f87

View File

@@ -162,7 +162,7 @@ func configureContainer(rt *Runtime, c *Container) error {
}
newMounts = append(newMounts, m)
}
c.Spec.Mounts = append(c.Spec.Mounts,
newMounts = append(newMounts,
specs.Mount{
Destination: "/dev", Source: "tmpfs", Type: "tmpfs",
Options: []string{"rw", "nosuid", "noexec", "relatime"},