-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add runc features man page #4424
base: main
Are you sure you want to change the base?
Conversation
man/runc-features.8.md
Outdated
|
||
# DESCRIPTION | ||
The **features** command show enabled features. If you don't know what | ||
is feature you can check feature's section in runtime-spec in github. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sounds condescending to a reader. It's better to give a brief overview and refer to more documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure. i'm gonna explain features a little bit and provide more documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it ok now?
8b73bf8
to
660c816
Compare
Co-authored-by: Akihiro Suda <[email protected]> Signed-off-by: Amir M. Ghazanfari <[email protected]>
660c816
to
f6e2bf3
Compare
**runc features** | ||
|
||
# DESCRIPTION | ||
The **features** command shows the implemented features in JSON format. Features are properties of runc, such as the minimum and maximum accepted OCI versions. The implemented features may not always be available, depending on the kernel version, system libraries, CPU architecture, etc. For more information about features, you can check the features section in the runtime-spec on GitHub. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- nit: It would be better to limit the width to 79 characters or so.
- Add a link to runtime-spec features doc here and/or to SEE ALSO section.
# DESCRIPTION | ||
The **features** command shows the implemented features in JSON format. Features are properties of runc, such as the minimum and maximum accepted OCI versions. The implemented features may not always be available, depending on the kernel version, system libraries, CPU architecture, etc. For more information about features, you can check the features section in the runtime-spec on GitHub. | ||
|
||
# PROPERTIES |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A man header with such name is not standard. Please see man-pages(7) for which sections are recommended. In general, I think, what's below is part of description and doesn't require a separate section.
The **features** command shows the implemented features in JSON format. Features are properties of runc, such as the minimum and maximum accepted OCI versions. The implemented features may not always be available, depending on the kernel version, system libraries, CPU architecture, etc. For more information about features, you can check the features section in the runtime-spec on GitHub. | ||
|
||
# PROPERTIES | ||
**ociVersionMin**: Minimum OCI version that runc can accept. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This (and below) may benefit from using a list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much better overall, but still need more work.
A tip: whenever you work on a man page, please always check how the result looks like rendered by man/roff (for this repo it means to check the result of make man && man ./man/man8/runc-features.8
).
In this pr i put man page for runc-features.