-
Notifications
You must be signed in to change notification settings - Fork 950
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
docs: add docs about lxcfs feature #1461
Conversation
We found this is your first time to contribute to Pouch, @fanux |
Codecov Report
@@ Coverage Diff @@
## master #1461 +/- ##
===========================================
- Coverage 40.07% 16.36% -23.71%
===========================================
Files 250 207 -43
Lines 16351 13816 -2535
===========================================
- Hits 6552 2261 -4291
- Misses 8954 11399 +2445
+ Partials 845 156 -689
|
docs/features/pouch_with_lxcfs.md
Outdated
@@ -6,6 +6,29 @@ Container solutions provide a general way for users to limit resource usage of r | |||
|
|||
For example, if we create a general container with limiting 200 MB memory on host of 2 GB memory in total, we can find that resource upper limit is incorrect via command `free`, and it shows all memory size of the host: | |||
|
|||
Make sure your lxcfs service is running: |
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.
Thanks for your contribution very much. I do think we need this part very much. While I am still wondering if here is the best place to locate the prerequisites of the lxcfs functionablity.
How about adding a third leval title of Prerequisites
in the second level of Get Started
? @fanux
docs/features/pouch_with_lxcfs.md
Outdated
Make sure your lxcfs service is running: | ||
|
||
``` | ||
$ systemctl start lxcfs |
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.
Maybe we should add some restriction for this part code shell command, since I think systemctl
can be used on some constraint os distributions, not all.
Otherwise, doc readers may feel that for all the os distributions, they could use these script command. WDYT? @fanux
@fanux Thanks for your contribution. 🍻 |
LGTM and I will squash the commits into a single one. |
docs: add docs about feature lxcfs
Update lxcfs feature docs
If not start lxcfs service, pouch will start failed with --enable-lxcfs flag.