This example shows how to access a private container repository in your Nextflow pipeline using the Wave service.
process foo {
container 'docker.io/pditommaso/my-secret-container:latest'
debug true
"""
my-secret-script.sh
"""
}
workflow {
foo()
}
docker {
enabled = true
}
tower {
accessToken = "$TOWER_ACCESS_TOKEN"
}
In the above script, replace the container image with your own private repository.
nextflow run demo.nf