Can't install docker properly

Installed docker1.6 from deb package but have a problem on running:

sudo docker version
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
FATA[0000] Get http:///var/run/docker.sock/v1.18/version: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

  • How to achieve cpu-throttling in docker swarm mode: docker service create
  • GPU becomes unavailable when computer goes to sleep
  • What is the canonical way to see if an image exists in the docker public registry?
  • How to assign a name to running container in docker?
  • how to schedule job with the monitoring of cpu,memory, disk io, etc.
  • Populating Neo4J In Docker Container
  • Any ideas how to fix or debug it?

    I didn’t have external net on that machine so I downloaded docker deb by this script:

    #!/bin/bash
    docker_version=1.6.1
    get_docker=https://get.docker.io/ubuntu/pool/main/l
    
    for package in lxc-docker lxc-docker-$docker_version; do
        deb=${package}_${docker_version}_amd64.deb
        curl -s $get_docker/$package/$deb -o $deb
    done
    

  • Kubernetes - how to send request to all the minions?
  • Elasticsearch won't run with Docker
  • Configure Jenkins job to install Docker via ansible
  • Detect AWS host environment from within a Docker Container
  • docker 1.12 swarm : Does Swarm have a configuration store like kubernetes configMap
  • Docker Error getting events from daemon: EOF
  • 2 Solutions collect form web for “Can't install docker properly”

    That error means the Docker daemon isn’t running. Try running docker -d first, then running your Docker command.

    If that returns an error, you’ll need to figure out why (you may be missing a dependency for example).

    can you try this command:

    sudo wget -qO- https://get.docker.com/ | sh

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