-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Description
Output of docker version:
Client:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Wed Apr 27 00:34:20 2016
OS/Arch: windows/amd64
Server:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Wed Apr 27 00:34:20 2016
OS/Arch: linux/amd64
Output of docker info:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 1.11.1
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.8-boot2docker
Operating System: Boot2Docker 1.11.1 (TCL 7.0); HEAD : 7954f54 - Wed Apr 27 16:36:45 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 995 MiB
Name: rake-compiler-machine
ID: ELVY:Z7XK:A4LJ:BEBA:MPOX:5ORT:MUOS:UCZA:NYVM:W4OY:S7ZL:QUYC
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug mode (client): false
Debug mode (server): true
File Descriptors: 12
Goroutines: 29
System Time: 2016-04-28T15:29:34.6086957Z
EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
provider=hyperv
Additional environment details (AWS, VirtualBox, physical, etc.):
- running the commands from Windows 10 x64 to a newly created docker machine in hyperv
Steps to reproduce the issue:
- create a new hyperv docker machine & run the command to set the docker environment
- run
docker run -t -i ubuntu /bin/bash - observe output
Describe the results you received:
There's an error about accessing the docker repository:
$ docker run -t -i ubuntu /bin/bash
Unable to find image 'ubuntu:latest' locally
Pulling repository docker.io/library/ubuntu
C:\Users\--\docker.exe: Error while pulling image: Get https://index.docker.io/v1/repositories/library/ubuntu/images: dial tcp: lookup index.docker.io on [::1]:53: read udp [::1]:55313->[::1]:53: read: connection refused.
See 'C:\Users\--\docker.exe run --help'.
Describe the results you expected:
I expected docker to connect to the registry, grab the appropriate image, etc
Additional information you deem important (e.g. issue happens only occasionally):
Seems to happen every time. It appears to be trying to access index.docker.io on localhost, lookup index.docker.io on [::1]:53 but I don't have anything in my hosts file or any other weird dns config, and no proxies. Ping times out (public icmp disabled?), but the host lookup seems to be correct:
$ ping index.docker.io
Pinging us-east-1-elbio-rm5bon1qaeo4-623296237.us-east-1.elb.amazonaws.com [52.73.94.64] with 32 bytes of data:
Request timed out.
Maybe this is an ipv6 thing? Can I force docker to use ipv4 somehow?