dragonflyoss / Dragonfly2

Dragonfly is an open source P2P-based file distribution and image acceleration system. It is hosted by the Cloud Native Computing Foundation (CNCF) as an Incubating Level Project.
https://d7y.io
Apache License 2.0
2.1k stars 264 forks source link

Is there some wrong about Configure Docker daemo in https://d7y.io #3305

Open haima95 opened 1 month ago

haima95 commented 1 month ago

Bug report:

我的k8s集群容器运行时是docker,所以按照官网上(https://d7y.io/docs/v2.0.2/setup/runtime/docker/)的操作配置daemon.json,内容如下 { "live-restore": true, "exec-opts": ["native.cgroupdriver=systemd"], "insecure-registries": ["ghcr.io"] }

当systemctl restart docker,dragonfly-dfdaemon pod就出现异常,然后我参考这个地址(https://blog.csdn.net/MasterPick/article/details/108628309)的文档,在daemon.json加上"registry-mirrors":["http://127.0.0.1:65001"],systemctl restart docker后就能正常运行。

是否官方文档上的描述有问题?

Expected behavior:

dragonfly正常运行

How to reproduce it:

安装官网的操作去部署

Environment: