FrancisTse8 commented on issue #7852: Trouble installing MXNet on Raspberry Pi 3
URL: 
https://github.com/apache/incubator-mxnet/issues/7852#issuecomment-329847054
 
 
   OK, I am on the Raspberry Pi 3 running jessie to try to install MXNet. 
   
   Followed the instructions on 
https://www.raspberrypi.org/blog/docker-comes-to-raspberry-pi/ to install 
docker:
   ```bash
   curl -sSL https://get.docker.com | sh
   ```
   
   Downloaded the appropriate dockerfile and modified it to enable openCV. See 
below (file renamed with .txt to attach here):
   
[Dockerfile.build.armv7.withOpenCV.txt](https://github.com/apache/incubator-mxnet/files/1307112/Dockerfile.build.armv7.withOpenCV.txt)
   
   Verified that docker was installed and I have the the dockerfile I needed:
   ```bash
   pi@raspberrypi:~ $ which docker
   /usr/bin/docker
   pi@raspberrypi:~ $ ls dockerfiles
   Dockerfile.build.armv7.withOpenCV
   ```
   
   However, when I ran the docker build, I got a permission denied error:
   ```bash
   pi@raspberrypi:~ $ docker build -f 
dockerfiles/Dockerfile.build.armv7.withOpenCV -t mxnet .
   Got permission denied while trying to connect to the Docker daemon socket at 
unix:///var/run/docker.sock: Post 
http://%2Fvar%2Frun%2Fdocker.sock/v1.29/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=dockerfiles%2FDockerfile.build.armv7.withOpenCV&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=mxnet&target=&ulimits=null:
 dial unix /var/run/docker.sock: connect: permission denied
   ```
   
   Did I do something wrong or missed some kind of step?
   
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to