Skip to content

Commit fd7cad8

Browse files
committed
feat: add tip about swap enabled by default on linux kernel v6.1 and newest
this is just a tip as danny6167 pointed, not all distribution use a 6.1 or newest kernel
1 parent ff449b9 commit fd7cad8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

daemon/0.6/installing.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ systemctl enable docker
9393
```
9494

9595
#### Enabling Swap
96+
::: tip Recent Linux kernel
97+
Since the version 6.1 of the linux kernel, swap is enabled by default. If you are running a kernel version 6.1 or newer, you can skip this step. To check your kernel version, run `uname -r`.
98+
:::
9699
On most systems, docker will be unable to setup swap space, you can check if this is the case by running `docker info`.
97100
If it outputs `WARNING: No swap limit support` near the bottom, this is the case. Enabling swap is completely optional,
98101
but we recommended doing it if you will be hosting for others, and to prevent OOM errors.

wings/1.0/installing.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ sudo systemctl enable --now docker
7575
```
7676

7777
#### Enabling Swap
78-
78+
::: tip Recent Linux kernel
79+
Since the version 6.1 of the linux kernel, swap is enabled by default. If you are running a kernel version 6.1 or newer, you can skip this step. To check your kernel version, run `uname -r`.
80+
:::
7981
On most systems, Docker will be unable to setup swap space by default. You can confirm this by running `docker info` and looking for the output of `WARNING: No swap limit support` near the bottom.
8082

8183
Enabling swap is entirely optional, but we recommended doing it if you will be hosting for others and to prevent OOM errors.

0 commit comments

Comments
 (0)