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?

  • vagrant variables in Dockerfile
  • Ruby OOM in container
  • Why doesn't my pod respond to requests on the exposed port?
  • How to connect to containers on docker Overlay network from an external machine
  • How to setup a docker swarm cluster with AWS ubuntu machine [closed]
  • Run Chromium inside container: libGl error
  • 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
    

  • Airflow: Could not send worker log to S3
  • RSelenium on docker: where are files downloaded?
  • Can use kubectl replace update the namespace of service in kubernetes
  • Docker registry mirror not saving images with minikube
  • sharing docker.sock or docker in docker (dind)
  • What on premises container management solutions are there?
  • 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.