sjtuross / syno-iptables

Some missing iptables modules for Synology
188 stars 23 forks source link

ds920+ 出错 #6

Closed charley008 closed 2 years ago

charley008 commented 2 years ago

DSM 7.0.1-42218 Update 3 Linux NAS 4.4.180+ 所以就用了syno-iptables-latest\apollolake\kernel-4.4.180里面的文件上传上去。 按示例的配置了docker.json还有/var/packages/Docker/scripts/start-stop-status。 没能启动docker ,出错代码 2022-03-24T16:10:11+08:00 NAS docker[31392]: time="2022-03-24T16:10:11.079741926+08:00" level=warning msg="Your kernel does not support CPU CFS scheduler" 2022-03-24T16:10:11+08:00 NAS docker[31392]: time="2022-03-24T16:10:11.079763017+08:00" level=warning msg="Your kernel does not support CPU realtime scheduler" 2022-03-24T16:10:11+08:00 NAS docker[31392]: time="2022-03-24T16:10:11.079785063+08:00" level=warning msg="Your kernel does not support cgroup blkio weight" 2022-03-24T16:10:11+08:00 NAS docker[31392]: time="2022-03-24T16:10:11.079807271+08:00" level=warning msg="Your kernel does not support cgroup blkio weight_device" 2022-03-24T16:10:11+08:00 NAS docker[31392]: time="2022-03-24T16:10:11.079837977+08:00" level=warning msg="Your kernel does not support cgroup blkio throttle.read_bps_device" 2022-03-24T16:10:11+08:00 NAS docker[31392]: time="2022-03-24T16:10:11.079863549+08:00" level=warning msg="Your kernel does not support cgroup blkio throttle.write_bps_device" 2022-03-24T16:10:11+08:00 NAS docker[31392]: time="2022-03-24T16:10:11.079889002+08:00" level=warning msg="Your kernel does not support cgroup blkio throttle.read_iops_device" 2022-03-24T16:10:11+08:00 NAS docker[31392]: time="2022-03-24T16:10:11.079911199+08:00" level=warning msg="Your kernel does not support cgroup blkio throttle.write_iops_device" 2022-03-24T16:10:11+08:00 NAS docker[31392]: time="2022-03-24T16:10:11.079934446+08:00" level=warning msg="Unable to find pids cgroup in mounts" 2022-03-24T16:10:11+08:00 NAS docker[31392]: time="2022-03-24T16:10:11.714237826+08:00" level=warning msg="could not create bridge network for id bc8fc3706e27f15bd17290cc834b456a3c7b71e8d1220db00ee2c2749fbd6f55 bridge name docker-bc8fc370 while booting up from persistent state: Failed to Setup IP tables: Unable to enable NAT rule: (iptables failed: ip6tables --wait -t nat -I POSTROUTING -s fe80::/64 ! -o docker-bc8fc370 -j MASQUERADE: ip6tables v1.8.3 (legacy): Couldn't load target MASQUERADE':No such file or directory\n\nTryip6tables -h' or 'ip6tables --help' for more information.\n (exit status 2))"

sjtuross commented 2 years ago

DS920+是geminilake架构的,你用apollolake的模块是不行的

刚刚编译了一份适用的,试试看吧 geminilake/kernel-4.4.180

charley008 commented 2 years ago

换了你最新编译的已经成功 ,安装新的docker 能使用ipv6,不过发现 docker管理 页面里面的 网络 是一片空白。以前 管理 docker网络的 会有两个列表,分别是 bridge 和host。

sjtuross commented 2 years ago

我这边测试过的几个系统都没有这个问题,默认的bridge和host网络都可以在管理界面看到

运行sudo docker network ls看下bridge和host在不在?运行sudo tail /var/log/Docker/docker.log -n 100看下最近100行日志里有什么信息?

sjtuross commented 2 years ago

参考 https://github.com/sjtuross/syno-iptables/issues/10#issuecomment-1092764990 即可解决

charley008 commented 2 years ago

已经按你提示 搞定了。一切ok