Skip to main content

The Latest Nextflow documentation is being migrated from nextflow.io. For the most up-to-date content, see https://nextflow.io/docs/ (latest).

Version: Latest

nextflow.container

The nextflow.container package implements the integration with container runtimes.

Class Diagram

note

Some classes may be excluded from the above diagram for brevity.

Notes

The ContainerBuilder class is the base class for all container runtimes supported by Nextflow. It produces the container wrapper command for a given task run.

Executors that support containerized tasks insert this wrapper command into the task wrapper script (.command.run). Executors that are container-native, i.e. that launch the task wrapper itself inside a container, don't need to generate a container wrapper command.

On this Page