for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Unable to pull images and docker login

Open thomao opened this issue 8 years ago • 7 comments

Expected behavior

Pull hello-world image should result in getting the image from the Public registry

Actual behavior

docker pull hello-world
Using default tag: latest
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)

Information

4592D18C-3E84-4CA1-8C8A-F86E476124E8/2018-01-17_10-03-41

PS C:\WINDOWS\system32> docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 17.12.0-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 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 logentries splunk syslog
Swarm: active
 NodeID: rfai82f6nxko4sgbp211vc220
 Is Manager: true
 ClusterID: lrexado8fm16e4wk203lcdigq
 Managers: 1
 Nodes: 1
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Number of Old Snapshots to Retain: 0
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
  Force Rotate: 0
 Autolock Managers: false
 Root Rotation In Progress: false
 Node Address: 192.168.65.3
 Manager Addresses:
  192.168.65.3:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 89623f28b87a6004d4b785663257362d1658a729
runc version: b2567b37d7b75eb4cf325b77297b140ea686ce8f
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.60-linuxkit-aufs
Operating System: Docker for Windows
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.934GiB
Name: linuxkit-00155df50170
ID: GPEA:BU2X:HX7C:Y4XK:5LUY:5NID:4EJU:AWAE:MP3J:VV3S:B2XW:2MZ6
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 34
 Goroutines: 146
 System Time: 2018-01-17T09:08:51.3777078Z
 EventsListeners: 1
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

thomao avatar Jan 17 '18 09:01 thomao

If I switch from "Docker for Windows - Stable" to "Docker for Windows - Edge", I am able to pull images and login. However, then I don't get an error no suitable node when running docker stack deploy

thomao avatar Jan 17 '18 09:01 thomao

i m having same issue

pull hello-world Using default tag: latest 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)

WasimAhmad avatar Jan 21 '18 18:01 WasimAhmad

Same here. I didn't have the error with the old versions of Docker. I had to rollback to the version : 17.09.0-ce-win33 2017-10-06

kowlown avatar Jan 31 '18 09:01 kowlown

having this problem, tried lots of ways.. not working yet

murugaratham avatar Feb 19 '18 08:02 murugaratham

same here. my work around is to restart the docker-services. after that pulling etc works. it is just annoying.

Containers: 7
 Running: 0
 Paused: 0
 Stopped: 7
Images: 221
Server Version: 18.03.0-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 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 logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: cfd04396dc68220d1cecbe686a6cc3aa5ce3667c
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.87-linuxkit-aufs
Operating System: Docker for Windows
OSType: linux
Architecture: x86_64
CPUs: 24
Total Memory: 31.36GiB
Name: linuxkit-00155dc0b639
ID: X7N6:7526:DN37:FYYC:7IUS:SOCE:KWJU:QJRX:KT4W:MOSU:Q6GQ:CQV7
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 19
 Goroutines: 36
 System Time: 2018-03-31T08:51:31.8494146Z
 EventsListeners: 1
HTTP Proxy: 192.168.192.5:3128
HTTPS Proxy: 192.168.192.5:3128
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false```

cons0l3 avatar Mar 31 '18 08:03 cons0l3

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

docker-robott avatar Jul 31 '18 00:07 docker-robott

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Jun 26 '20 03:06 docker-robott