Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var generateFlags = []cli.Flag{
cli.StringSliceFlag{Name: "tmpfs", Usage: "mount tmpfs"},
cli.StringSliceFlag{Name: "args", Usage: "command to run in the container"},
cli.StringSliceFlag{Name: "env", Usage: "add environment variable"},
cli.StringFlag{Name: "mount-cgroups", Value: "ro", Usage: "mount cgroups (rw,ro,no)"},
cli.StringFlag{Name: "mount-cgroups", Value: "no", Usage: "mount cgroups (rw,ro,no)"},
cli.StringSliceFlag{Name: "bind", Usage: "bind mount directories src:dest:(rw,ro)"},
cli.StringSliceFlag{Name: "prestart", Usage: "path to prestart hooks"},
cli.StringSliceFlag{Name: "poststart", Usage: "path to poststart hooks"},
Expand Down
4 changes: 2 additions & 2 deletions man/ocitools-generate.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ inside of the container.
**--mount**
Use a mount namespace

**--mount-cgroups**
Mount cgroups (rw,ro,no)
**--mount-cgroups**=[rw|ro|no]
Mount cgroups. The default is `no`.

**--os**=OS
Operating system used within the container
Expand Down