Network timeout..cannot pull images

My current operating system is Windows 10 and
I have installed Virtual Box and then added an Ubuntu VM on top of that. I installed the docker-engine on Ubuntu and I added the insecure-registry.
But when I am trying to pull the images..it always says “Network timed out error”. I have tried most of the suggestions from Google, but to no success.
I cannot even pull images from public DockerHub like docker pull hello-world

Please do help me .

  • CircleCI - Git could not resolve host when cloning repository
  • Source controlling (git) docker-compose.yml
  • Deploy Docker from Travis to AWS (or any other SSH able server)
  • Building Docker images with Jenkins that runs inside a Docker container
  • Screen within Docker from ssh
  • Pass parameter (like -Des.node.name=“TestNode”) in docker run from Ansible or Fig
  • I am doing the commands in the following order

    sudo docker pull hello-world
    

    output:

    using default tag : latest
    Pulling repository docker.io/library/hello-world
    Network timed out while trying to connect to https://index.docker.io/v1/repositories/lirary/hello-world/iamges. You may want to check your internet connection or if you are behind proxy.
    

    My admin team confirms that we are not using any proxies in the company.

    Few more details

    • Operating System : Windows 10
    • Virtual Box : 5.1.2
    • VM : Ubuntu 16.04 LTS
    • Docker : 1.11.2

    I am struggling with this not sure what is happening..Please help me.

    Thanks and appreciate your feedback.

  • Docker service process zombie holding a Device Mapper managed device
  • How do you get access to environment variables via Elasticbeanstalk configuration files (using Docker)?
  • What to do about NPE when trying to build docker image using jenkins?
  • Mongodb, Boot2Docker, and Replica Set connections
  • In Docker, how can I share files between containers and then save them to an image?
  • Docker error resolve host and I/O error on POST request for http://es.example/oauth/check_token Connection refused
  • One Solution collect form web for “Network timeout..cannot pull images”

    I had the same issue.
    For me it was a network problem in VirtualBox. I configures network ‘Adapter 1’ as the following (attached to-> NAT and Port Forwarding (name:ssh,Protocol:TCP,Host IP: 127.0.0.1, Host Port:22, Guest IP:,Guest Protocol:22)).

    I hope it helps, regards!

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.