Cannot connect to the Docker daemon

#yum install docker
...
..
..
...
Installed:
  docker.x86_64 2:1.12.6-28.git1398f24.el7.centos                                                            

Dependency Installed:
  container-selinux.noarch 2:2.12-2.gite7096ce.el7       docker-client.x86_64 2:1.12.6-28.git1398f24.el7.centos
  docker-common.x86_64 2:1.12.6-28.git1398f24.el7.centos oci-register-machine.x86_64 1:0-3.11.gitdd0daef.el7
  oci-systemd-hook.x86_64 1:0.1.7-2.git2788078.el7       skopeo-containers.x86_64 1:0.1.19-1.el7            

Dependency Updated:
  libsemanage.x86_64 0:2.5-5.1.el7_3                  libsemanage-python.x86_64 0:2.5-5.1.el7_3              
  policycoreutils.x86_64 0:2.5-11.el7_3               policycoreutils-python.x86_64 0:2.5-11.el7_3            

Complete!

Tried to run my docker Swarm on AWS and got the error

[root@localhost ~]# docker run --rm -ti -v /var/run/docker.sock:/var/run/docker.sock -e DOCKER_HOST dockercloud/client vanithav/soldatinc
/usr/bin/docker-current: Cannot connect to the Docker daemon. Is the docker daemon running on this host?.
See '/usr/bin/docker-current run --help'.

To start Docker Daemon manually in the "Foreground" run dockerd - command

[root@localhost ~]# dockerd
INFO[0001] libcontainerd: new containerd process, pid: 32065
WARN[0000] containerd: low RLIMIT_NOFILE changing to max  current=1024 max=4096
WARN[0003] devmapper: Usage of loopback devices is strongly discouraged for production use. Please use `--storage-opt dm.thinpooldev` or use `man docker` to refer to dm.thinpooldev section.
INFO[0004] devmapper: Creating filesystem xfs on device docker-253:0-67127513-base
INFO[0004] devmapper: Successfully created filesystem xfs on device docker-253:0-67127513-base
INFO[0005] Graph migration to content-addressability took 0.00 seconds
INFO[0005] Loading containers: start.                
INFO[0006] Firewalld running: true                    
INFO[0008] Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address

INFO[0009] Loading containers: done.                  
INFO[0009] Daemon has completed initialization        
INFO[0009] Docker daemon                                 commit=1398f24/1.12.6 graphdriver=devicemapper version=1.12.6
INFO[0009] API listen on /var/run/docker.sock        

Installing Ingress Controller - Kubernetes

Installing the Ingress Controller Prerequisites Make sure you have access to the Ingress controller image: For NGINX Ingress controll...