dockeraws-batchnextflow

Provide Dockerhub username and access token to Nextflow AWS Batch executor


I want to run my Nextflow pipeline using an AWS Batch executor. However, I pushed a private (not public) image to Dockerhub. When executing the Nextflow pipeline locally, I can access the local image.

However, when executing my Nextflow pipeline using the AWS Batch executor, the Docker image can't be accessed because it's private. Is there a way to provide a Dockerhub username and access token to my Nextflow pipeline so it can pull the private Docker image from Dockerhub?


Solution

  • You can use the Wave service to authenticate the access to the private container repositories. See the nextflow docs for more details