当前位置: 首页> 文旅> 艺术 > 阿里巴巴国际站外贸流程_中国核工业集团有限公司_网站快速排名优化报价_简述网络营销与传统营销的整合

阿里巴巴国际站外贸流程_中国核工业集团有限公司_网站快速排名优化报价_简述网络营销与传统营销的整合

时间:2025/7/10 7:46:55来源:https://blog.csdn.net/jycjyc/article/details/145519053 浏览次数:0次
阿里巴巴国际站外贸流程_中国核工业集团有限公司_网站快速排名优化报价_简述网络营销与传统营销的整合

 

 参考:执行docker compose命令出现 Additional property include is not allowed_(root) additional property include is not allowed-CSDN博客

原因是docker-compose的版本太低,下载最新的替换即可。

第一次2.6.x版本改成了2.19.x不够高,所以又报了下面的错误。

下载地址:v2.32.4后解决。

Releases · docker/compose · GitHub

现在最新的版本:

root@node15:~# chmod +x docker-compose-linux-x86_64 
root@node15:~# docker info|more
Client:
 Version:    26.1.3
 Context:    default
 Debug Mode: false
 Plugins:
  compose: Docker Compose (Docker Inc.)
    Version:  v2.19.1
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 62
  Running: 4
  Paused: 0
  Stopped: 58
 Images: 35
 Server Version: 26.1.3
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: nvidia-legacy runc io.containerd.runc.v2 nvidia nvidia-cdi
 Default Runtime: nvidia
 Init Binary: docker-init
 containerd version: 7c3aca7a610df76212171d200ca3811ff6096eb8
 runc version: 5bc031544833253e3ab6a36daec376dc13a4f479
 init version: 
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 5.15.0-43-generic
 Operating System: Ubuntu 22.04.1 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 56
 Total Memory: 251.8GiB
 Name: node15
 ID: 3ca08087-6f51-4eef-aee0-54a158dd6169
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  192.168.207.41
  127.0.0.0/8
 Live Restore Enabled: false

root@node15:~# cp docker-compose-linux-x86_64 /usr/libexec/docker/cli-plugins/docker-compose
root@node15:~# docker info|head
Client:
 Version:    26.1.3
 Context:    default
 Debug Mode: false
 Plugins:
  compose: Docker Compose (Docker Inc.)
    Version:  v2.32.4
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
root@node15:~# 

 root@node15:/disk2/ragflow-0.16.0# export https_proxy=http://192.168.207.127:7890

上面的设置没有效果,主要需要修改容器地址,升级docker-compose版本后可以执行
root@node15:/disk2/ragflow-0.16.0# docker compose -f docker/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. 
[+] Running 4/22
 ✘ redis Error        Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)                    15.0s 
 ⠙ minio [⠀⣿⠀⠀⠀⠀⠀] Pulling                                                                                                                                                                15.0s 
   ⠦ f72461870632 Downloading [=====>                                             ]  767.8kB/7.193MB                                                                                      12.5s 
   ✔ 683391db8929 Download complete                                                                                                                                                        2.9s 
   ⠦ ba8b8055313f Downloading [=>                                                 ]  1.086MB/35.51MB                                                                                      12.5s 
   ⠦ a8e0787fb7ed Downloading [=>                                                 ]  322.5kB/9.776MB                                                                                      12.5s 
   ⠦ fd20cadb8d39 Waiting                                                                                                                                                                 12.5s 
   ⠦ 3738ac54d510 Waiting                                                                                                                                                                 12.5s 
   ⠦ 128c59a31db4 Waiting                                                                                                                                                                 12.5s 
 ✘ ragflow Error      context canceled                                                                                                                                                    15.0s 
 ✘ mysql Error        context canceled                                                                                                                                                    15.0s 
 ⠙ es01 [⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀] Pulling                                                                                                                                                              15.0s 
   ⠹ 9e61d8b90935 Waiting                                                                                                                                                                 12.2s 
   ⠹ b72403a59eb9 Waiting                                                                                                                                                                 12.2s 
   ⠹ 9fe4457bccf6 Waiting                                                                                                                                                                 12.2s 
   ⠹ 89732bc75041 Waiting                                                                                                                                                                 12.2s 
   ⠹ 7d1b8a7d0cf6 Waiting                                                                                                                                                                 12.2s 
   ⠹ 5f0c732baa5d Waiting                                                                                                                                                                 12.2s 
   ⠹ df9f9c79894f Waiting                                                                                                                                                                 12.2s 
   ⠹ 4cfe26a355c8 Waiting                                                                                                                                                                 12.2s 
   ⠹ 4d9c5e900237 Waiting                                                                                                                                                                 12.2s 
   ⠹ bc9c1e3bbcf8 Waiting                                                                                                                                                                 12.2s 
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)
root@node15:/disk2/ragflow-0.16.0# 

root@node15:/disk2/ragflow-0.16.0# cat /etc/docker/daemon.json
{
    "runtimes": {
        "nvidia": {
            "path": "nvidia-container-runtime",
            "runtimeArgs": []
        }
    },
     "registry-mirrors": [
         "https://mirrors.tuna.tsinghua.edu.cn",
         "https://ustc-edu-cn.mirror.aliyuncs.com",      
         "https://ccr.ccs.tencentyun.com",
         "https://docker.m.daocloud.io",
         "https://docker.awsl9527.cn",
         "https://registry.docker-cn.com",
         "https://docker.m.daocloud.io",
         "https://dockerproxy.com",
         "https://docker.mirrors.ustc.edu.cn",
         "https://docker.nju.edu.cn",
         "https://iju9kaj2.mirror.aliyuncs.com",
         "http://hub-mirror.c.163.com",
         "https://cr.console.aliyun.com",
         "https://hub.docker.com",
         "http://mirrors.ustc.edu.cn"

     ]

}

root@node15:/disk2/ragflow-0.16.0# systemctl daemon-reload
root@node15:/disk2/ragflow-0.16.0# systemctl restart docker

 修改     "registry-mirrors": 后可以正常拉镜像了。

关键字:阿里巴巴国际站外贸流程_中国核工业集团有限公司_网站快速排名优化报价_简述网络营销与传统营销的整合

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: