ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: validating /root/ragflow-main/docker/docker-compose-base.yml: networks.ragflow Additional property extra_hosts is not allowed

Open huachen-github opened this issue 11 months ago • 6 comments

Describe your problem

Image docker-compose -f docker-compose.yml up -d WARN[0000] The "HF_ENDPOINT" variable is not set. Defaulting to a blank string. WARN[0000] The "MACOS" variable is not set. Defaulting to a blank string. validating /root/ragflow-main/docker/docker-compose-base.yml: networks.ragflow Additional property extra_hosts is not allowed 这种报错如何解决啊

huachen-github avatar Feb 08 '25 09:02 huachen-github

Upgrade the docker version.

KevinHuSh avatar Feb 08 '25 10:02 KevinHuSh

Upgrade the docker latest version.

CaglarTaha avatar Feb 08 '25 23:02 CaglarTaha

Using the latest version of Docker, the error still exists

[root@ai-a docker]# docker --version Docker version 26.1.4, build 5650f9b

[root@ai-a docker]# docker compose pull WARN[0000] The "HF_ENDPOINT" variable is not set. Defaulting to a blank string. WARN[0000] The "MACOS" variable is not set. Defaulting to a blank string. [+] Pulling 5/22 ✘ redis Error context canceled 30.1s ✘ ragflow Error Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awa... 30.1s ⠋ es01 [⠀⠀⣿⣿⠀⠀⠀⠀⠀⠀] Pulling 30.1s ⠙ 9e61d8b90935 Retrying in 5 seconds 27.2s ⠙ b72403a59eb9 Downloading [=> ] 327.2kB/15.78MB 27.2s ✔ 9fe4457bccf6 Download complete 17.0s ✔ 89732bc75041 Download complete 25.7s ⠙ 7d1b8a7d0cf6 Waiting 27.2s ⠙ 5f0c732baa5d Waiting 27.2s ⠙ df9f9c79894f Waiting 27.2s ⠙ 4cfe26a355c8 Waiting 26.2s ⠙ 4d9c5e900237 Waiting 26.2s ⠙ bc9c1e3bbcf8 Waiting 26.2s ✘ mysql Error context canceled 30.1s ⠋ minio [⠀⠀⠀⠀⠀⠀⠀] Pulling 30.1s ⠙ f72461870632 Waiting 26.1s ⠙ 683391db8929 Waiting 26.1s ⠙ ba8b8055313f Waiting 26.1s ⠙ a8e0787fb7ed Waiting 26.1s ⠙ fd20cadb8d39 Waiting 26.1s ⠋ 3738ac54d510 Waiting 24.1s ⠧ 128c59a31db4 Waiting 23.8s Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

maomaoaichirou avatar Feb 09 '25 03:02 maomaoaichirou

使用最新版本的 Docker,错误仍然存在

[root@ai-a docker]# docker --version Docker 版本 26.1.4,构建 5650f9b

[root@ai-a docker]# docker compose pull WARN[0000] “HF_ENDPOINT” 变量未设置。默认为空字符串。警告[0000] 未设置 “MACOS” 变量。默认为空字符串。 [+] 拉取 5/22 ✘ redis 错误上下文已取消 30.1 秒 ✘ ragflow 错误获取“https://registry-1.docker.io/v2/”:net/http:等待连接时请求已取消(等待连接时超出 Client.Timeout...30.1s ⠋ es01 [⠀⠀⣿⣿⠀⠀⠀⠀⠀⠀] 拉动 30.1s ⠙ 9e61d8b90935 5秒后重试 27.2s ⠙ b72403a59eb9 下载 [=> ] 327.2kB/15.78MB 27.2s ✔ 9fe4457bccf6 下载完成 17.0s ✔ 89732bc75041 下载完成 25.7s ⠙ 7d1b8a7d0cf6 等待 27.2s ⠙ 5f0c732baa5d 等待 27.2s ⠙ df9f9c79894f 等待 27.2s ⠙ 4cfe26a355c8 等待 26.2s ⠙ 4d9c5e900237 等待 26.2s⠙ bc9c1e3bbcf8 等待 26.2 秒 ✘ mysql 错误上下文取消 30.1 秒 ⠋ minio [⠀⠀⠀⠀⠀⠀⠀] 拉取 30.1 秒 ⠙ f72461870632 等待 26.1 秒 ⠙ 683391db8929 等待 26.1 秒 ⠙ ba8b8055313f 等待 26.1 秒 ⠙ a8e0787fb7ed 等待 26.1 秒 ⠙ fd20cadb8d39 等待 26.1 秒 ⠋ 3738ac54d510 等待 24.1 秒 ⠧ 128c59a31db4 等待 23.8 秒 守护进程的错误响应:获取”https://registry-1.docker.io/v2/“: net/http: 等待连接时请求已取消(等待标头时超出 Client.Timeout)

damon换最新的镜像源解决了

huachen-github avatar Feb 10 '25 09:02 huachen-github

请问改成哪个镜像源了?

Jonson-zhang avatar Feb 14 '25 16:02 Jonson-zhang

同问,换成哪个了?

BadKingCo avatar Feb 20 '25 07:02 BadKingCo