Description
I want to run PEPATAC in a container. This is the first time I am using docker.
After installing the Docker module in my Conda environment using the pip install docker
command , I tried to extract the Docker databio/pepatac image from DockerHub using the command: docker pull databio/pepatac
However, I encountered the following error:
Using default tag: latest 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.24/images/create?fromImage=databio%2Fpepatac&tag=latest": dial unix /var/run/docker.sock: connect: permission denied
I tried also with the command docker build -t databio/pepatac -f pepatac.Dockerfile /my/path/pepatac.Dockerfile
but it returned the following error:
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.24/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=pepatac.Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=databio%2Fpepatac&target=&ulimits=null&version=1": dial unix /var/run/docker.sock: connect: permission denied
Finally, I tried with make docker pepatac.Dockerfile
and it returns:
make: *** No rule to make target 'docker'. Stop.
Is there an alternative way to download the docker image databio/pepatac?