docker-archive / docker-registry

This is **DEPRECATED**! Please go to https://github.com/docker/distribution
Apache License 2.0
2.88k stars 876 forks source link

curl works but docker search doesnt work #1101

Open prashantladha opened 7 years ago

prashantladha commented 7 years ago

Behind corporate firewall, I am trying "docker search" through the proxy server on a Windows 7 Docker Quickstart Terminal.

First set the proxy server details export HTTP_PROXY="http://{REPLACE-WINDOWS-DOMAIN-NAME}\{REPLACE-WINDOWS-USER-NAME}:{REPLACE-WINDOWS-PASSWORD}@{REPLACE-PROXY-SERVER}:{REPLACE-PROXY-PORT}/" export HTTPS_PROXY="https://{REPLACE-WINDOWS-DOMAIN-NAME}\{REPLACE-WINDOWS-USER-NAME}:{REPLACE-WINDOWS-PASSWORD}@{REPLACE-PROXY-SERVER}:{REPLACE-PROXY-PORT}/" export NO_PROXY="192.168.99.100"

Error response from daemon: Get https://index.docker.io/v1/search?q=spark: dial tcp 52.22.146.88:443: i/o timeout

$ docker info Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 1.11.2 Storage Driver: aufs Root Dir: /mnt/sda1/var/lib/docker/aufs Backing Filesystem: extfs Dirs: 0 Dirperm1 Supported: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge null host Kernel Version: 4.4.12-boot2docker Operating System: Boot2Docker 1.11.2 (TCL 7.1); HEAD : a6645c3 - Wed Jun 1 22:5 9:51 UTC 2016 OSType: linux Architecture: x86_64 CPUs: 1 Total Memory: 995.9 MiB Name: default ID: ENLI:PUF4:KEDJ:2R2L:55UQ:FSEG:3ZWY:AUBR:T3PN:3WD7:6IZS:YSRN Docker Root Dir: /mnt/sda1/var/lib/docker Debug mode (client): false Debug mode (server): true File Descriptors: 12 Goroutines: 29 System Time: 2017-03-04T12:07:27.527525351Z EventsListeners: 0 No Proxy: 192.168.99.100 Registry: https://index.docker.io/v1/ Labels: provider=virtualbox