abiosoft / colima

Container runtimes on macOS (and Linux) with minimal setup
MIT License
19.23k stars 385 forks source link

Cannot Pull docker image #1175

Closed yowainaegi closed 2 hours ago

yowainaegi commented 3 hours ago

Description

My Mac OS version is 15.0.1

I edited the .colima/default/colima.yml docker: insecure-registries:

docker info Client: Docker Engine - Community Version: 27.3.1 Context: colima Debug Mode: false

Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 27.1.1 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: cgroupfs 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: io.containerd.runc.v2 runc Default Runtime: runc Init Binary: docker-init containerd version: 2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41 runc version: v1.1.13-0-g58aa920 init version: de40ad0 Security Options: apparmor seccomp Profile: builtin cgroupns Kernel Version: 6.8.0-39-generic Operating System: Ubuntu 24.04 LTS OSType: linux Architecture: aarch64 CPUs: 2 Total Memory: 1.91GiB Name: colima ID: 9d876367-c7df-4bb5-bbd7-13b87b5775bc Docker Root Dir: /var/lib/docker Debug Mode: false Experimental: false Insecure Registries: cr.console.aliyun.com docker.mirrors.ustc.edu.cn registry.docker-cn.com 127.0.0.0/8 Registry Mirrors: https://registry.docker-cn.com/ https://cr.console.aliyun.com/ https://docker.mirrors.ustc.edu.cn/ Live Restore Enabled: false

then i execute the docker pull mysql:8.0

but it's doesn't work

Version

colima version 0.7.5

Operating System

Output of colima status

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)

Reproduction Steps

  1. colima start
  2. docker pull mysql:8.0

Expected behaviour

No response

Additional context

No response

yowainaegi commented 2 hours ago

Okay, I know the reason, my network cannot connect the dockerhub