dmmiller612 / lecture-summarizer

Lecture summarization with BERT
https://arxiv.org/abs/1906.04165
146 stars 36 forks source link

Docker Problem #2

Open makamkkumar opened 4 years ago

makamkkumar commented 4 years ago

Getting an error while trying to run the service locally. Please advise its also my first attempt to run a code in a docker

$ make docker-build-run docker build -t local-summary -f Dockerfile ./ ERRO[0000] failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied 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.40/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=hz77ar7alqxnbm6vqj1mgjc6s&shmsize=0&t=local-summary&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied Makefile:12: recipe for target 'docker-build-run' failed make: *** [docker-build-run] Error 1

dmmiller612 commented 4 years ago

Is docker verified to be running on your machine?