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.
Docker is not supported by the BSP Release so I would recommend that you post your question on a Docker-centric forum so there are better changes someone may be able to help. I see in some posts on the web that this was a common problem on certain releases of Docker (18.09) due to a missing socket so maybe trying an older version of Docket could help.