Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PERMISSION: download the docker image databio/pepatac #298

Open
ASNbioinf opened this issue Nov 18, 2024 · 1 comment
Open

PERMISSION: download the docker image databio/pepatac #298

ASNbioinf opened this issue Nov 18, 2024 · 1 comment
Labels
awaiting-response Waiting for response from original poster

Comments

@ASNbioinf
Copy link

ASNbioinf commented Nov 18, 2024

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?

@nsheff
Copy link
Member

nsheff commented Nov 18, 2024

I think this isn't a PEPATAC issue, probably you haven't configured docker correctly.

Could it be related to this? https://docs.docker.com/engine/install/linux-postinstall/

If you use sudo before the command does it work? If so, it's because you haven't set up your docker user permissions correctly.

@nsheff nsheff added the awaiting-response Waiting for response from original poster label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-response Waiting for response from original poster
Projects
None yet
Development

No branches or pull requests

2 participants