Skip to content
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

Added warning for cgroups to single node docker #4251

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,20 @@ Refer to [this page](./advanced) for details.

Refer to [this page](./troubleshooting) for frequently asked questions and troubleshooting tips.

### Known Issues

Newer operating systems switched to [cgroups v2](https://docs.kernel.org/admin-guide/cgroup-v2.html) instead of the older cgroups v1, which will make the rancher/rancher container crash.
dgiebert marked this conversation as resolved.
Show resolved Hide resolved

To see wether your system is effected, check for the existence of the cgroup.controller:
dgiebert marked this conversation as resolved.
Show resolved Hide resolved

```bash
$ cat /sys/fs/cgroup/cgroup.controllers

cpuset cpu io memory hugetlb pids rdma
```

In this case it is recommend to use a local single node k3s Kubernetes cluster ([k3s](https://rancher.com/docs/k3s/latest/en/installation/install-options/) + [helm](https://rancher.com/docs/rancher/v2.6/en/installation/install-rancher-on-k8s/))
dgiebert marked this conversation as resolved.
Show resolved Hide resolved

## What's Next?

- **Recommended:** Review [Single Node Backup and Restore]({{<baseurl>}}/rancher/v2.6/en/backups/docker-installs). Although you don't have any data you need to back up right now, we recommend creating backups after regular Rancher use.
Expand Down