You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cli.StringFlag{Name: "root-propagation", Usage: "mount propagation for root"},
65
-
cli.StringFlag{Name: "rootfs", Value: "rootfs", Usage: "path to the rootfs"},
63
+
cli.StringFlag{Name: "rootfs-path", Value: "rootfs", Usage: "path to the root filesystem"},
64
+
cli.StringFlag{Name: "rootfs-propagation", Usage: "mount propagation for rootfs"},
65
+
cli.BoolFlag{Name: "rootfs-readonly", Usage: "make the container's rootfs readonly"},
66
66
cli.StringFlag{Name: "seccomp-allow", Usage: "specifies syscalls to respond with allow"},
67
67
cli.StringFlag{Name: "seccomp-arch", Usage: "specifies additional architectures permitted to be used for system calls"},
68
68
cli.StringFlag{Name: "seccomp-default", Usage: "specifies default action to be used for system calls and removes existing rules with specified action"},
Copy file name to clipboardExpand all lines: man/oci-runtime-tool-generate.1.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,17 +214,17 @@ read the configuration from `config.json`.
214
214
Specifies paths readonly inside container. e.g. --readonly-paths=/proc/sys
215
215
This option can be specified multiple times.
216
216
217
-
**--read-only**=true|false
218
-
Mount the container's root filesystem as read only.
219
-
220
-
By default a container will have its root filesystem writable allowing processes to write files anywhere. By specifying the `--read-only` flag the container will have its root filesystem mounted as read only prohibiting any writes.
217
+
**--rootfs-path**=ROOTFSPATH
218
+
Path to the root filesystem
221
219
222
-
**--root-propagation**=PROPOGATIONMODE
220
+
**--rootfs-propagation**=PROPOGATIONMODE
223
221
Mount propagation for root filesystem.
224
222
Values are "shared, rshared, private, rprivate, slave, rslave"
225
223
226
-
**--rootfs**=ROOTFSPATH
227
-
Path to the rootfs
224
+
**--rootfs-readonly**=true|false
225
+
Mount the container's root filesystem as read only.
226
+
227
+
By default a container will have its root filesystem writable allowing processes to write files anywhere. By specifying the `--rootfs-readonly` flag the container will have its root filesystem mounted as read only prohibiting any writes.
0 commit comments