I am trying to run docker on imx6. I have added meta-virtualization layer in the yocto project, it has build properly. But while booting it is showing the below syntax error
/etc/rc5.d/S20docker.init: line 43: syntax error: unexpected redirection
when i enter command 'docker --version' it is showing 'Docker version 18.09.3-ce, build f5e591e815'
For the below command 'docker run hello-world' , it is showing as
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is .
See 'docker run --help'.
Please anyone suggest how me to resolve this.