Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What if the Docker on the raspberry pie has a cgroup error?

Shulou Source: shulou.com Published: 2022-06-01 22:59:55 09月28日 Update

What I want to share with you in this article is what to do when there is a cgroup error in Docker on the raspberry pie. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article.

Run-time errors occur in docker version 17.11:

Cgroups: memory cgroup not supported on this system: unknown

Three solutions:

Install the old version of docker.

$sudo apt install docker-ce=17.09.0~ce-0~raspbian

Lock the docker version when upgrading: sudo apt-mark hold docker-ce.

Add the following at the end of the / boot/cmdline.txt line, and then restart:

Cgroup_enable=memory cgroup_memory=1

The above is what to do if there is a cgroup error in the Docker on the raspberry pie. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Tags: Version how to do raspberries errors more knowledge articles practical content methods that is work meetings articles read knowledge points industry details information channels follow Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Microsoft Shulou Tech Info vpn Docker