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?

  • Mount 'pwd' in swarm service using Docker for Mac
  • Can't seem to expose docker container port to host
  • Flag provided but not defined -d while running docker container
  • Could not initialize corosync configuration API error 12
  • multiple docker compose container - single ip
  • /bin/sh: 1: python: not found while running 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
    

  • docker cannot start container … cpu.shares: no such file or directory
  • PhpStorm runs only local PHPUnit configuration. How to force it to use remote (Docker)?
  • cron job not running inside docker container on ubuntu
  • Docker exposed ports are not available
  • Why will my Nginx docker container not start when the --restart switch is specified
  • Django connection to postgres by docker-compose
  • 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.