Skip to main content

Podman

Podman is a drop-in replacement for Docker that can run containers with or without root privileges.

Prerequisites

Podman must be installed in your execution environment.

Rootless mode requires additional operating system configuration. Because of a Podman limitation, cpuset for CPUs and memory only works with root permissions.

How it works

Enable Podman in the Nextflow configuration file:

podman.enabled = true
process.container = 'nextflow/examples:latest'

Whenever your pipeline launches a task, Nextflow runs it inside a Podman container created from the specified image using the podman run command.

You can also enable Podman on the command line:

nextflow run main.nf -with-podman

Advanced settings

See the podman configuration scope for advanced Podman settings.