docker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown.处理过程

# docker run -it --rm alpine /bin/sh
docker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown.
# dnf install grubby
Last metadata expiration check: 0:11:51 ago, executed in 2020 Friday, October 23, 2014 at 14:25:57.
The package grubby-8.40-40.fc32.x86_64 has been installed.
The dependency is resolved.
No processing is required.
complete!
# grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
# shutdown -r 0
Reboot scheduled for Fri 2020-10-23 14:38:12 CST, use'shutdown -c' to cancel.

# docker run -it --rm alpine /bin/sh
/ #

 

Guess you like

Origin blog.csdn.net/allway2/article/details/109242221