ERROR Swap

完整错误:

  1. [ERROR Swap]: running with swap on is not supported. Please disable swap

解决方案: 临时关闭 swap, 执行: swapoff -a

如果要永久关闭,执行:

vim /etc/fstab

找到swap分区将其注释:

#UUID=121f8719-c206-40b3-a992-0eab07a22e21 swap                    swap    defaults        0 0

重启机器:

systemctl reboot

验证是否成功关闭:

$ free -m
              total        used        free      shared  buff/cache   available
Mem:           3757        1127        1906          17         722        2370
Swap:             0           0           0

ERROR FileContent—proc-sys-net-bridge-bridge-nf-call-iptables

完整错误:

[ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]

解决方案: 执行 echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables

ERROR FileContent—proc-sys-net-ipv4-ip_forward

完整错误:

[ERROR FileContent--proc-sys-net-ipv4-ip_forward]

解决方案: 执行 echo 1 > /proc/sys/net/ipv4/ip_forward

ERROR Service-Docker

完整错误

[ERROR Service-Docker]
[ERROR CRI]
[ERROR SystemVerification]: failed to parse kernel config: unable to load kernel module: "configs", output: "modprobe: FATAL: Module configs not found.\n", err: exit status 1
[WARNING Service-Docker]: docker service is not enabled, please run 'systemctl enable docker.service'

解决方案: 启动 Docker, 并设置其开机自启

  • 启动 Docker: systemctl start docker
  • 开机启动 Docker: systemctl enable docker