docker镜像 版本不对?

提问参考模版:

  • nebula 版本:2 nightly
  • 部署方式(分布式 / 单机 / Docker / DBaaS):Docker
  • 硬件信息
    • 磁盘( 推荐使用 SSD)
    • CPU、内存信息
  • 问题的具体描述
  • 相关的 meta / storage / graph info 日志信息

我mac电脑上镜像信息:(阿里云Docker镜像 加速)

服务器上镜像信息:

上周,我们本地也确实遇到过类似的情况,能否贴一下 docker info 的输出信息?目前还不清楚是 docker 版本升级的原因还是镜像加速的原因

暂时可以通过如下的方式来规避,直接指定 DIGEST 来 PULL,类似如下命令:

$ docker pull vesoft/nebula-graphd:v2-nightly@sha256:5edfe43477223e2303e05e937a7efa138c6f4539b4c30b69d74544a0a58d2f9c
$ docker images
REPOSITORY                        TAG                 IMAGE ID            CREATED             SIZE
vesoft/nebula-graphd              <none>              d30035fccea5        7 hours ago         292MB
vesoft/nebula-graphd              v2-nightly          745ee6fac97f        7 weeks ago         292MB
$ docker tag d30035fccea5 vesoft/nebula-graphd:v2-nightly
$ docker images
REPOSITORY                        TAG                 IMAGE ID            CREATED             SIZE
vesoft/nebula-graphd              v2-nightly          d30035fccea5        7 hours ago         292MB
vesoft/nebula-graphd              <none>              745ee6fac97f        7 weeks ago         292MB

上述的 DIGEST 可以在如下的网页上获取:

我自己本地的 docker 配置中去掉镜像的加速器以后再重新拉就能拉到最新的镜像了,你如果也配置过 “register-mirrors” 可以去掉试试或者换个加速器比如 azure 的。

1 个赞
(base) ➜  nebula-docker-compose_v2 git:(master) docker info
Client:
 Debug Mode: false

Server:
 Containers: 3
  Running: 0
  Paused: 0
  Stopped: 3
 Images: 41
 Server Version: 19.03.8
 Storage Driver: overlay2
  Backing Filesystem: <unknown>
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.76-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 1.944GiB
 Name: docker-desktop
 ID: KTAK:UKB6:YDSG:GPTY:RCMK:I65Q:MDWV:6ZSI:VAS7:Z2LB:CLKJ:GTGO
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 43
  Goroutines: 46
  System Time: 2021-03-15T02:23:53.787293926Z
  EventsListeners: 1
 HTTP Proxy: gateway.docker.internal:3128
 HTTPS Proxy: gateway.docker.internal:3129
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: true
 Insecure Registries:
  127.0.0.0/8
 Registry Mirrors:
  https://xxxx.mirror.aliyuncs.com/
 Live Restore Enabled: false
 Product License: Community Engine

可以试试如下的两个加速器:

 Registry Mirrors:
  https://dockerhub.azk8s.cn/
  https://reg-mirror.qiniu.com/

好了 谢谢

浙ICP备20010487号