Skip to content

Docker running, output error #21

@ghost

Description

As far as I can tell, Docker is running correctly...

sad@sad:~$ sudo docker run hello-world
Hello from Docker!
This message shows that your installation appears to be working correctly.

When trying to run prok-cheetah, I get this error:

sad@sad:~/GALES/bin$ ./run_prok_pipeline -i ../test_data/genomes/GCA_002790715.1_ASM279071v1_genomic.fna -od /tmp/demo -v cheetah -rd /dbs
Starting pipeline. If this is your first time running this pipeline there will be some latency as the necessary Docker images are downloaded. This is a one-time cost.
Running command: cwl-runner --outdir /tmp/demo /tmp/demo/prok-annotation-cheetah.cwl /tmp/demo/prok-annotation-cheetah.json
/usr/local/lib/python2.7/dist-packages/cwltool/init.py:17: CWLToolDeprecationWarning:
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020.
Please upgrade your Python as the Python 2.7 version of cwltool won't be
maintained after that date.

""", category=CWLToolDeprecationWarning)
INFO /usr/local/bin/cwl-runner 1.0.20190815141648
INFO Resolved '/tmp/demo/prok-annotation-cheetah.cwl' to 'file:///tmp/demo/prok-annotation-cheetah.cwl'
INFO [workflow ] start
INFO [workflow ] starting step barrnap
INFO [step barrnap] start
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.38/images/json?all=1: dial unix /var/run/docker.sock: connect: permission denied
ERROR Workflow error, try again with --debug for more information:
Docker is not available for this tool, try --no-container to disable Docker, or install a user space Docker replacement like uDocker with --user-space-docker-cmd.: Command '['docker', 'images', '--no-trunc', '--all']' returned non-zero exit status 1.
ERROR: Return code 1 when running the following command: cwl-runner --outdir /tmp/demo /tmp/demo/prok-annotation-cheetah.cwl /tmp/demo/prok-annotation-cheetah.json

I looked at a similar issue, but have unable to resolve it. I am running Linux Mint, rebooted as well. If it's not Docker, it would appear to be permissions. What would I change where if that is the case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions