Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
6960d82c
Commit
6960d82c
authored
Aug 01, 2015
by
Avinash Sridharan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trying to fix build error
parent
29f3ab7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
docker.md
docs/getting-started-guides/docker.md
+7
-8
No files found.
docs/getting-started-guides/docker.md
View file @
6960d82c
...
@@ -59,12 +59,11 @@ Here's a diagram of what the final result will look like:
...
@@ -59,12 +59,11 @@ Here's a diagram of what the final result will look like:
following configs are turned on in your linux kernel:
following configs are turned on in your linux kernel:
```console
```console
CONFIG_RESOURCE_COUNTERS=y
CONFIG_RESOURCE_COUNTERS=y
CONFIG_MEMCG=y
CONFIG_MEMCG=y
CONFIG_MEMCG_SWAP=y
CONFIG_MEMCG_SWAP=y
CONFIG_MEMCG_SWAP_ENABLED=y
CONFIG_MEMCG_SWAP_ENABLED=y
CONFIG_MEMCG_KMEM=y
CONFIG_MEMCG_KMEM=y
```
```
3.
Enable the memory and swap accounting in the kernel, at boot, as command line
3.
Enable the memory and swap accounting in the kernel, at boot, as command line
...
@@ -74,12 +73,12 @@ parameters as follows:
...
@@ -74,12 +73,12 @@ parameters as follows:
GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
```
```
NOTE: The above is specifically for GRUB2.
NOTE: The above is specifically for GRUB2.
You can check the command line parameters passed to your kenel by looking at the
You can check the command line parameters passed to your kenel by looking at the
output of /proc/cmdline:
output of /proc/cmdline:
```console
```console
$cat /proc/cmdline
$cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.18.4-aufs root=/dev/sda5 ro cgroup_enable=memory
BOOT_IMAGE=/boot/vmlinuz-3.18.4-aufs root=/dev/sda5 ro cgroup_enable=memory
swapaccount=1
swapaccount=1
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment