fix: revert daemon 0.6 doc change and add space to previous tip

This commit is contained in:
WeeskyBDW 2025-02-17 23:07:37 +01:00
parent fd7cad81ff
commit 733a1d6c6e
No known key found for this signature in database
GPG Key ID: 8C91B9AAB32324F6
2 changed files with 1 additions and 3 deletions

View File

@ -93,9 +93,6 @@ systemctl enable docker
```
#### Enabling Swap
::: tip Recent Linux kernel
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`.
:::
On most systems, docker will be unable to setup swap space, you can check if this is the case by running `docker info`.
If it outputs `WARNING: No swap limit support` near the bottom, this is the case. Enabling swap is completely optional,
but we recommended doing it if you will be hosting for others, and to prevent OOM errors.

View File

@ -78,6 +78,7 @@ sudo systemctl enable --now docker
::: tip Recent Linux kernel
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`.
:::
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.
Enabling swap is entirely optional, but we recommended doing it if you will be hosting for others and to prevent OOM errors.