mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
the kernel needs "swapaccount=1" set - some docs are updated, this one seems to have slipped through
Fixes #952
This commit is contained in:
parent
7e065aaacd
commit
5fc1329b2f
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ Memory and Swap Accounting on Debian/Ubuntu
|
|||
If you use Debian or Ubuntu kernels, and want to enable memory and swap
|
||||
accounting, you must add the following command-line parameters to your kernel::
|
||||
|
||||
cgroup_enable=memory swapaccount
|
||||
cgroup_enable=memory swapaccount=1
|
||||
|
||||
On Debian or Ubuntu systems, if you use the default GRUB bootloader, you can
|
||||
add those parameters by editing ``/etc/default/grub`` and extending
|
||||
|
@ -110,6 +110,6 @@ add those parameters by editing ``/etc/default/grub`` and extending
|
|||
|
||||
And replace it by the following one::
|
||||
|
||||
GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount"
|
||||
GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
|
||||
|
||||
Then run ``update-grub``, and reboot.
|
||||
|
|
Loading…
Reference in a new issue