1

I'm very new to Docker and currently following the Docker getting started guide, I was able to install Docker Toolbox and created by first Docker image, but now I see the following message when I try to pull a Docker image

I do pull hello-world from my Docker command line and I get the error

Pulling repository docker.io/library/hello-world
Error while pulling image: Get https://index.docker.io/v1/repositories/library/hello-world/images: dial tcp: lookup index.docker.io on 192.231.203.3:53: server misbehaving

I'm on OSX (10.10.3) and Docker version 1.8.1, build d12ea79, and not behind a firewall/proxy.

halfer
  • 19,824
  • 17
  • 99
  • 186
sameera207
  • 16,547
  • 19
  • 87
  • 152

2 Answers2

1

I was having this same issue. The resolution that worked for me was to

  1. shutdown and remove/delete the "default" vm in Virtual Box
  2. restart Docker Quickstart Terminal
  3. be sure to use docker-machine instead of the deprecated boot2docker

It doesn't seem docker has updated some of their docs to reflect NOT to use boot2docker...

side note: if you want to list your docker vms and their ip addresses run docker-machine ls

Just answered a simliar question here: Why doesn't Docker Toolbox work on Mac 10.10.5

Community
  • 1
  • 1
Clay Allen
  • 55
  • 2
  • 9
0

Try restarting your docker vm either through boot2docker or docker-machine.

kabucey
  • 2,418
  • 3
  • 18
  • 7