@@ -21,3 +21,39 @@ GLOBAL OPTIONS:
2121 --version, -v print the version
2222
2323```
24+
25+ Generate
26+
27+ ```
28+ # ocitools generate --help
29+ NAME:
30+ generate - generate a OCI spec file
31+
32+ USAGE:
33+ command generate [command options] [arguments...]
34+
35+ OPTIONS:
36+ --rootfs path to the rootfs
37+ --read-only make the container's rootfs read-only
38+ --privileged enabled privileged container settings
39+ --hostname "acme" hostname value for the container
40+ --uid "0" uid for the process
41+ --gid "0" gid for the process
42+ --groups [--groups option --groups option] supplementary groups for the process
43+ --cap-add [--cap-add option --cap-add option] add capabilities
44+ --cap-drop [--cap-drop option --cap-drop option] drop capabilities
45+ --network network namespace
46+ --mount mount namespace
47+ --pid pid namespace
48+ --ipc ipc namespace
49+ --uts uts namespace
50+ --selinux-label process selinux label
51+ --tmpfs [--tmpfs option --tmpfs option] mount tmpfs
52+ --args command to run in the container
53+ --env [--env option --env option] add environment variable
54+ --mount-cgroups "ro" mount cgroups (rw,ro,no)
55+ --bind [--bind option --bind option] bind mount directories src:dest:(rw,ro)
56+ --prestart [--prestart option --prestart option] path to prestart hooks
57+ --poststop [--poststop option --poststop option] path to poststop hooks
58+ --root-propagation mount propagation for root
59+ ```
0 commit comments