epi2me-labs / wf-human-variation

Other
87 stars 41 forks source link

Docker unable to find container? #96

Closed parkerpayne closed 8 months ago

parkerpayne commented 9 months ago

Operating System

Ubuntu 22.04

Other Linux

No response

Workflow Version

1.8.1

Workflow Execution

Command line

EPI2ME Version

No response

CLI command run

No response

Workflow Execution - CLI Execution Profile

None

What happened?

After running the workflow with docker installed, it crashes instantly with the following error:

ERROR ~ Error executing process > 'cnv:getVersions'

Caused by:
  Process `cnv:getVersions` terminated with an error exit status (125)

Command executed:

  python -c "import pysam; print(f'pysam,{pysam.__version__}')" >> versions.txt
  R --version | grep -w R | grep version | cut -f3 -d" " | sed 's/^/R,/' >> versions.txt
  R --slave -e 'packageVersion("QDNAseq")' | cut -d\' -f2 | sed 's/^/QDNAseq,/' >> versions.txt
  samtools --version | head -n 1 | sed 's/ /,/' >> versions.txt

Command exit status:
  125

Command output:
  (empty)

Command error:
  Unable to find image 'ontresearch/wf-cnv:sha428cb19e51370020ccf29ec2af4eead44c6a17c2' locally
  docker: Error response from daemon: Head "https://registry-1.docker.io/v2/ontresearch/wf-cnv/manifests/sha428cb19e51370020ccf29ec2af4eead44c6a17c2": Get "https://auth.docker.io/token?scope=repository%3Aontresearch%2Fwf-cnv%3Apull&service=registry.docker.io": EOF.
  See 'docker run --help'.

Work dir:
  /home/i9a6000/polarPipelineNFWork/2/workspace/d0/f3a875346c3733eba389746977951c

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`

 -- Check '.nextflow.log' file for details

After trying to manually pull the docker image using this command: sudo docker run ontresearch/wf-cnv I got the same error. I'm not sure that the command is right, but since it produced the same error, i.e. Unable to find image 'ontresearch/wf-cnv:latest' locally docker: Error response from daemon: Head "https://registry-1.docker.io/v2/ontresearch/wf-cnv/manifests/latest": Get "https://auth.docker.io/token?scope=repository%3Aontresearch%2Fwf-cnv%3Apull&service=registry.docker.io": EOF. See 'docker run --help'. , I think it likely has to do with the repository.

Is this hosted by yall, or am I incorrectly diagnosing the issue?

Thanks!

Relevant log output

ERROR ~ Error executing process > 'cnv:getVersions'

Caused by:
  Process `cnv:getVersions` terminated with an error exit status (125)

Command executed:

  python -c "import pysam; print(f'pysam,{pysam.__version__}')" >> versions.txt
  R --version | grep -w R | grep version | cut -f3 -d" " | sed 's/^/R,/' >> versions.txt
  R --slave -e 'packageVersion("QDNAseq")' | cut -d\' -f2 | sed 's/^/QDNAseq,/' >> versions.txt
  samtools --version | head -n 1 | sed 's/ /,/' >> versions.txt

Command exit status:
  125

Command output:
  (empty)

Command error:
  Unable to find image 'ontresearch/wf-cnv:sha428cb19e51370020ccf29ec2af4eead44c6a17c2' locally
  docker: Error response from daemon: Head "https://registry-1.docker.io/v2/ontresearch/wf-cnv/manifests/sha428cb19e51370020ccf29ec2af4eead44c6a17c2": Get "https://auth.docker.io/token?scope=repository%3Aontresearch%2Fwf-cnv%3Apull&service=registry.docker.io": EOF.
  See 'docker run --help'.

Work dir:
  /home/i9a6000/polarPipelineNFWork/2/workspace/d0/f3a875346c3733eba389746977951c

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`

 -- Check '.nextflow.log' file for details


### Application activity log entry

_No response_
RenzoTale88 commented 9 months ago

Hi @parkerpayne we do not have an image tagged latest. If you want to manually download the image you need to refer to the correct sha value:

docker pull ontresearch/wf-cnv:sha428cb19e51370020ccf29ec2af4eead44c6a17c2

The fact that you have to run docker with sudo makes me think that you have not configured the software appropriately though. Could you check that you follow the installation instructions here?

Thanks Andrea

SamStudio8 commented 8 months ago

Closing due to lack of response, please open a new issue if you are still having trouble!