# Error when trying to pull container

**URL:** <https://community.seqera.io/t/error-when-trying-to-pull-container/2351>\
**Category:** Ask for help\
**Tags:** nextflow, nf-core\
**Created:** [September 1, 2025, 11:03am UTC](https://community.seqera.io/t/error-when-trying-to-pull-container/2351 "2025-09-01T11:03:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LKeene](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/lkeene/32/1986_2.png) [@LKeene](https://community.seqera.io/u/LKeene)\
**Post date:** [September 1, 2025, 11:03am UTC](https://community.seqera.io/t/error-when-trying-to-pull-container/2351/1 "2025-09-01T11:03:33Z")

</div>

Hi All,

I am working to adapt a custom pipeline written with only using singularity in mind to being able to use docker as well. I didn’t make this pipeline but have used it before. I no longer have access to a computing environment with singularity available which is why I am trying to get it to work with docker.

This is the pipeline itself: [GitHub - stenglein-lab/read\_preprocessing: A nextflow workflow / pipeline to perform common NGS read preprocessing. This can be used as stand-alone or can be used as subworkflow in another nextflow pipeline.](https://github.com/stenglein-lab/read_preprocessing/tree/main)

I added this to the config file to add a docker profile:

docker { docker.enabled = true conda.enabled = false singularity.enabled = false podman.enabled = false shifter.enabled = false charliecloud.enabled = false apptainer.enabled = false docker.runOptions = ‘-u (id -u):(id -g)’ }

And looked at all the modules to see if they were already compatible with docker. To me, it looks like they all have a docker container option but I have been unable to find good documentation about setting up modules for multiple containers so this may be because of that. Any kind of direction to documentation about this would be incredibly helpful.

So, I ran the pipeline and at the third step it returned the error below. This has confounded me as it it’s a commonly used nf-cor module. What is the problem?

Caused by: K8s pod image cannot be pulled – rpc error: code = NotFound desc = failed to pull and unpack image “[docker.io/biocontainers/fastqc:0.12.1--hdfd78af\_0”:](http://docker.io/biocontainers/fastqc:0.12.1--hdfd78af_0%E2%80%9D:) failed to unpack image on snapshotter overlayfs: unexpected media type text/html for sha256:62767d3a9e5db738ab69e115188c8e61b80ff4eb7ba70c083b2e766fe15e92e4: not found

Command executed:

printf “%s %s\n” 12-P0104-02-22\_S1\_R1\_001.fastq.gz 12-P0104-02-22\_1.gz 12-P0104-02-22\_S1\_R2\_001.fastq.gz 12-P0104-02-22\_2.gz | while read old\_name new\_name; do  
[-f “${new\_name}”] || ln -s $old\_name $new\_name  
done

fastqc

–threads 6  
12-P0104-02-22\_1.gz 12-P0104-02-22\_2.gz

cat \<\<-END\_VERSIONS \> versions.yml  
“MAIN\_WORKFLOW:PREPROCESS\_READS:FASTQC\_PRE”:  
fastqc: $( fastqc --version | sed -e “s/FastQC v//g” )  
END\_VERSIONS

Thank you!

---

<div class="post-metadata">

**Author:** ![gshumkov](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/gshumkov/32/2138_2.png) [@gshumkov](https://community.seqera.io/u/gshumkov)\
**Post date:** [October 31, 2025, 9:57am UTC](https://community.seqera.io/t/error-when-trying-to-pull-container/2351/2 "2025-10-31T09:57:31Z")

</div>

Hi Lexi! Thank you for the comprehensive description and the link to the workflow repository.  
Some of the image names in the modules/nf-core files are given without [quay.io](http://quay.io) prefix. I believe, this is the root cause of your issue. I have been able to run it in docker locally and prepared a small fixing pull request to the repository:

> <https://github.com/stenglein-lab/read_preprocessing/pull/1/>
>
> This issue have been found during the investigation of the Nextflow Community qu…estion 
> https://community.seqera.io/t/error-when-trying-to-pull-container/2351
> I was able to successfully execute the workflow as the user suggested using these changes

A short summary of the changed files:  
modules/nf-core/bbmap/bbduk/main.nf  
modules/nf-core/fastqc/main.nf  
modules/nf-core/multiqc/main.nf  
modules/nf-core/seqtk/sample/main.nf

please add ‘[quay.io/’](http://quay.io/%E2%80%99) before ‘biocontainers’ in the image name.

---

<div class="post-metadata">

**Author:** ![mahesh.binzerpanchal](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/mahesh.binzerpanchal/32/253_2.png) [@mahesh.binzerpanchal](https://community.seqera.io/u/mahesh.binzerpanchal)\
**Post date:** [October 31, 2025, 10:30am UTC](https://community.seqera.io/t/error-when-trying-to-pull-container/2351/3 "2025-10-31T10:30:05Z")

</div>

An overlooked point when using modules from nf-core is that the config also should include:

> <https://github.com/nf-core/tools/blob/99b23f0366232d793a82e71f28b2e621c382b889/nf_core/pipeline-template/nextflow.config#L245-L249>
