Install docker,

 

sudo apt-get install docker.io

 

common error:

Error loading docker apparmor profile: fork/exec/sbin/apparmor_parser: no such file or directory ()

fix

sudo apt-get install apparmor

 

FATA[0000] Get http:///var/run/docker.sock/v1.16/version: 
    dial unix /var/run/docker.sock: no such file or directory.
    Are you trying to connect to a TLS-enabled daemon without TLS?

usually you need to reboot after install docker.

or run

boot2docker start
$(boot2docker shellinit)

 

FATA[0133] Get https://index.docker.io/v1/repositories/library/busybox/images: dial tcp 52.7.162.45:443: connection timed out 

 

 

This is because you use docker under a proxy. then you need to add the proxy in your docker configure.

/etc/default/dockerconfiguration file : you should have a line to uncomment (and maybe adjust) to get your proxy settings applied automatically. 

if OS is debian, remeber remove export from that line, only keeps http_proxy part.

 

hen restart the Docker server:

service docker restart