Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Aug 29, 2023

There is a typo in the container name for the BCL Convert Process module. It should be nfcore/bclconvert:4.0.3 instead of nf-core/bclconvert:4.0.3. Notice the additional dash.

https://github.com/nf-core/modules/blob/master/modules/nf-core/bclconvert/Dockerfile#L2

As a result, the following error occurs ...

docker: Error response from daemon: pull access denied for nf-core/bclconvert, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

This change fixes the name of the container.

There is a typo in the container name for the BCL Convert Process module. It should be `nfcore/bclconvert:4.0.3` instead of 
 `nf-core/bclconvert:4.0.3`. Notice the additional dash.

https://github.com/nf-core/modules/blob/master/modules/nf-core/bclconvert/Dockerfile#L2

As a result, the following error occurs ...

>  docker: Error response from daemon: pull access denied for nf-core/bclconvert, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
@ghost ghost mentioned this pull request Aug 29, 2023
Copy link
Contributor

@edmundmiller edmundmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appreciate the catch! However, this is using the quay image(quay.io/nf-core/bclconvert) which has the dash

https://quay.io/repository/nf-core/bclconvert

If you would like to PR a fix to the docker file comment

@ghost
Copy link
Author

ghost commented Aug 29, 2023

Ok @emiller88, So the module doesn't work currently. This PR fixed the problem for me. If this change is not correct then, what changes should we make or what am I doing wrong on my end?

@ghost
Copy link
Author

ghost commented Aug 29, 2023

Also

$ docker pull quay.io/nf-core/bclconvert
Using default tag: latest
Error response from daemon: manifest for quay.io/nf-core/bclconvert:latest not found: manifest unknown: manifest unknown

@edmundmiller
Copy link
Contributor

Could you elaborate on how it doesn't work?

And try

$ docker pull quay.io/nf-core/bclconvert:4.0.3

It doesn't seem like there's a latest tag for the quay repo.

@ghost
Copy link
Author

ghost commented Aug 29, 2023

Yeah I forgot the tag when I tried to pull the image. Thanks.

It doesn't work because the container definition in the module does not point to quay.io/nf-core/bclconvert:4.0.3 which as you say is the correct image.

Should it not point to quay.io/nf-core/bclconvert:4.0.3 instead of nf-core/bclconvert:4.0.3?

@edmundmiller
Copy link
Contributor

Should it not point to quay.io/nf-core/bclconvert:4.0.3 instead of nf-core/bclconvert:4.0.3?

No, sadly it's a whole thing 🫠
We moved all the modules to use to docker.registry config setting, so you could swap in something like

docker.registry = 'quay.io'
podman.registry = 'quay.io'
singularity.registry = 'quay.io'

Then you can point at the biocontainers on ECR so you don't hit rate limits and whatnot https://aws.amazon.com/blogs/hpc/biocontainers-are-now-available-in-amazon-ecr-public-gallery/

For context, they announced it last year, and then the registry config got added to Nextflow proper, and we didn't have to hack it out with something like: #2291

@ghost
Copy link
Author

ghost commented Aug 29, 2023

Oh I see thanks! I'll close this guy too then since it sounds like we just need to add docker.registry = 'quay.io' to our config file.

#3788

@ghost ghost deleted the patch-1 branch September 8, 2023 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant