google / gvisor-containerd-shim

containerd shim for gVisor
https://gvisor.dev
Apache License 2.0
79 stars 28 forks source link

Remove bind/rbind options when converting emptydir to tmpfs #61

Open fvoznika opened 4 years ago

fvoznika commented 4 years ago

According to OCI spec, when mount options include bind or rbind, the type field is ignored. So just setting type to tmpfs is not enough to convert a mount, [r]bind options also need to be removed.