Docker installation failed

While installing Docker I’m getting this error.

ubuntu@ubuntu:/usr/lib/apt/methods$ sudo docker run -i -t ubuntu /bin/bash
Unable to find image 'ubuntu:latest' locally
FATA[0000] Error: 404 page not found 

Looking for any suggestions?

  • Dockerfile run /bin/bash id ENTRYPOINT or CMD fails
  • Docker with Compose and Swarm
  • Mesos, Marathon, the cloud and 10 data centers - How to talk to each other?
  • Docker flask application environment variables
  • Adding custom settings into boot2docker profile
  • Dockerfile vs Dockerrun.aws.json on AWS Elastic Beanstalk
  • File ownership on building docker images
  • Cannot create mongodb image on Docker
  • MySQL container crash after /etc/mysql/my.cnf change, how to edit back?
  • Docker: Creating a data volume container vs simply using the -v flag with `run`?
  • Can we control the k8s node run container members?
  • Instance only when needed - GCP
  • One Solution collect form web for “Docker installation failed”

    I had the same problem, I fixed it by setting the proxy in /etc/default/docker.

    I also had to unset the proxy in the environment variables :

    unset http_proxy
    unset https_proxy

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