Open eczajk1 opened 7 years ago
Same problem with Docker version 17.03.0-ce, build 60ccb22
fyi, i was having this problem yesterday - today it doesn't seem to be a problem. 😖
With Version 17.03.0-ce-win1 (10300) have this problem
Seems the issue was related to an invalid secondary DNS-server (company-internal) entry, solved now for me.
Does that mean it should work now, or will that take some time to propogate? I'm still experiencing an issue:
$ docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username: myusername
Password:
Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection
Here's another message that I've been seeing repeatedly today:
Sending build context to Docker daemon 114.3 MB
Step 1/18 : FROM ubuntu:trusty
Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection
@eczajk1 Well, in my case the problem was the configuration of my network-interface. It was set up to an non-existing secondary DNS-server. Our DNS-server are company internal.
@th-ko @eczajk1 Yes, i solved this issue after set actual dns servers in DockerNAT network connection.
@th-ko, @eczajk1, @kotovaleksandr 2 sorry guys... I'm running in the same issue with Ubuntu this morning. How did you manage to sort this out ? Where and how can I make those DNS changes ?? Thank you very much.
Same problem here :
When I try $ docker run hello-world
, I get the following error :
$ docker run hello-world
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 :
I am running docker behind a company proxy (I have set the environment variables HTTP_PROXY and HTTPS_PROXY in the following file : /var/lib/boot2docker/profile)
I also set those environment variables in the docker toolbox shell as illustrated by this command :
$ printenv | grep PROXY NO_PROXY=192.168.99.101 HTTPS_PROXY=myCompanyProxy:myPortNumber HTTP_PROXY=myCompanyProxy:myPortNumber
I have this problem even though I should have had the same problem when docker tried to download the boot2docker iso file when attempting to create the default machine for the first time (I know this because I had this problem).
However, when creating the docker default machine with the command below, it succeeded in dowloading the boot2docker iso file to create the virtual machine :
$ docker-machine create -d virtualbox \ --engine-env HTTP_PROXY=http://myCompanyProxy:myPortNumber:myPortNumber\ --engine-env HTTPS_PROXY=http://myCompanyProxy:myPortNumber:myPortNumber\ --virtualbox-no-vtx-check default
I think the problem comes from the DNS as you just said, however I don't know where I can make the change. Can someone help me ?
Thank you
@TSPcoder please open an issue on Docker Toolbox if there's not already one there: https://github.com/docker/toolbox/
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
/remove-lifecycle stale /lifecycle frozen
I have the same error on windows 10. With dns on interface 1.1.1.1 + dns setting in docker deamon:
{ "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } }, "dns": [ "1.1.1.1", "8.8.8.8" ], "experimental": false }
docker info
Client:
Version: 25.0.3
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.12.1-desktop.4
Path: C:\Program Files\Docker\cli-plugins\docker-buildx.exe
compose: Docker Compose (Docker Inc.)
Version: v2.24.6-desktop.1
Path: C:\Program Files\Docker\cli-plugins\docker-compose.exe
debug: Get a shell into any image or container. (Docker Inc.)
Version: 0.0.24
Path: C:\Program Files\Docker\cli-plugins\docker-debug.exe
dev: Docker Dev Environments (Docker Inc.)
Version: v0.1.0
Path: C:\Program Files\Docker\cli-plugins\docker-dev.exe
extension: Manages Docker extensions (Docker Inc.)
Version: v0.2.22
Path: C:\Program Files\Docker\cli-plugins\docker-extension.exe
feedback: Provide feedback, right in your terminal! (Docker Inc.)
Version: v1.0.4
Path: C:\Program Files\Docker\cli-plugins\docker-feedback.exe
init: Creates Docker-related starter files for your project (Docker Inc.)
Version: v1.0.1
Path: C:\Program Files\Docker\cli-plugins\docker-init.exe
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
Path: C:\Program Files\Docker\cli-plugins\docker-sbom.exe
scout: Docker Scout (Docker Inc.)
Version: v1.5.0
Path: C:\Program Files\Docker\cli-plugins\docker-scout.exe
Server: Containers: 15 Running: 15 Paused: 0 Stopped: 0 Images: 18 Server Version: 25.0.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: cgroupfs Cgroup Version: 1 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: ae07eda36dd25f8a1b98dfbf587313b99c0190bb runc version: v1.1.12-0-g51d5e94 init version: de40ad0 Security Options: seccomp Profile: unconfined Kernel Version: 5.15.133.1-microsoft-standard-WSL2 Operating System: Docker Desktop OSType: linux Architecture: x86_64 CPUs: 4 Total Memory: 5.653GiB Name: docker-desktop ID: 0f4b3361-ebfe-489b-90ed-b4244a090c11 Docker Root Dir: /var/lib/docker Debug Mode: false HTTP Proxy: http.docker.internal:3128 HTTPS Proxy: http.docker.internal:3128 No Proxy: hubproxy.docker.internal Experimental: false Insecure Registries: hubproxy.docker.internal:5555 127.0.0.0/8 Live Restore Enabled: false
WARNING: No blkio throttle.read_bps_device support WARNING: No blkio throttle.write_bps_device support WARNING: No blkio throttle.read_iops_device support WARNING: No blkio throttle.write_iops_device support WARNING: daemon is not using the default seccomp profile
Expected behavior
To be able to run simple docker commands like
login
andbuild
.I recently updated to my current version of Docker.
Actual behavior
Not able to get a connection. Error messages:
Information
Steps to reproduce the behavior
Not trying to do anything crazy here: