The `hostname` command may not exist in all environments and cause the pipeline execution to fail https://github.com/nf-core/tools/blob/b98970184dce35c56bc899218e4954f703beb118/nf_core/pipeline-template/lib/NfcoreTemplate.groovy#L27 Consider replacing it with ``` def hostname = ['sh', '-c', 'echo $HOSTNAME'].execute().text.trim() ``` x-ref https://github.com/nextflow-io/nextflow/issues/2199