Version 1.11.1-beta12 (build: 7528)
Expected behavior
Docker pull from private registry should use native OS DNS name resolution functionality
Actual behavior
GregD-MacBook:dcos-vagrant mobile$ docker pull boot.dcos:5000/devbox
Using default tag: latest
Pulling repository boot.dcos:5000/devbox
Error while pulling image: Get http://boot.dcos:5000/v1/repositories/devbox/images: dial tcp: lookup boot.dcos on 192.168.65.1:53: no such host
Information
if insecure private registry dns is configured through /etc/hosts
docker pull will still attempt to resolve DNS name directly from DNS
OS X: version 10.11.3 (build: 15D21)
Docker.app: version v1.11.1-beta12
Running diagnostic tests:
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Steps to reproduce the behavior
-
Configure private docker registry in VM.
-
add insecure private registry info
{“storage-driver”:“aufs”,“debug”:true, “insecure-registries”:[“boot.dcos:5000”]} -
Add DNS name that resolves to the VM IP through /etc/hosts
-
Try docker pull from insecure private registry