Nick Edmunds
03/24/2025, 12:30 PMIan Sillitoe
03/24/2025, 1:04 PMEvangelos Karatzas
03/24/2025, 1:11 PMEvangelos Karatzas
03/24/2025, 1:16 PMdocker.runOptions = '--platform=linux/amd64' in the nextflow.config file under docker parametersIan Sillitoe
03/24/2025, 1:16 PMnextflow run nf-core/proteinfamilies -profile test,docker --outdir protfam_test
Error:
Command error:
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
.command.sh: line 12: 35 Illegal instruction mmseqs createdb mgnifams_input_small.fa mgnifams_test/mgnifams_test
Container:
<http://quay.io/biocontainers/mmseqs2:17.b804f--hd6d6fdc_1|quay.io/biocontainers/mmseqs2:17.b804f--hd6d6fdc_1>Evangelos Karatzas
03/24/2025, 1:20 PMEvangelos Karatzas
03/24/2025, 1:21 PMEvangelos Karatzas
03/24/2025, 1:21 PM--profile arm,dockerEvangelos Karatzas
03/24/2025, 1:22 PMdocker.runOptions are already set under arm, so you don't need to change anything in the nextflow.config file. Just change your run command to:
nextflow run nf-core/proteinfamilies -profile test,arm,docker --outdir protfam_testIan Sillitoe
03/24/2025, 1:23 PMarm profile.
docker {
docker.enabled = true
conda.enabled = false
singularity.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
apptainer.enabled = false
docker.runOptions = '-u $(id -u):$(id -g)'
}
arm {
docker.runOptions = '-u $(id -u):$(id -g) --platform=linux/amd64'
}
I tried adding the arm profile to the command:
nextflow run nf-core/proteinfamilies -profile test,docker,arm --outdir protfam_test
I don’t get the warning about docker platform not matching, but I do still get the same error.Ian Sillitoe
03/24/2025, 1:24 PMarm profile first, and just adding the --platform=linux/amd64 option to the docker profile - same error)Ian Sillitoe
03/24/2025, 1:24 PMMartin Beracochea
03/24/2025, 1:28 PMMartin Beracochea
03/24/2025, 1:30 PMIan Sillitoe
03/24/2025, 1:33 PMEvangelos Karatzas
03/24/2025, 1:35 PMexport DOCKER_DEFAULT_PLATFORM=linux/amd64Evangelos Karatzas
03/24/2025, 1:35 PMMartin Beracochea
03/24/2025, 1:36 PM--platform=linux/amd64 AFAIKIan Sillitoe
03/24/2025, 1:39 PMDOCKER_DEFAULT_PLATFORM - same error. Also just tried rebooting (you never know 😛)Ian Sillitoe
03/24/2025, 1:40 PMNick Edmunds
03/24/2025, 2:01 PMIan Sillitoe
03/24/2025, 2:01 PMNick Edmunds
03/24/2025, 2:02 PMIan Sillitoe
03/24/2025, 2:04 PMNick Edmunds
03/24/2025, 2:04 PMIan Sillitoe
03/24/2025, 2:04 PMEvangelos Karatzas
03/24/2025, 2:05 PMIan Sillitoe
03/24/2025, 2:06 PMIan Sillitoe
03/24/2025, 2:06 PMNick Edmunds
03/24/2025, 2:06 PMEvangelos Karatzas
03/24/2025, 2:07 PMNick Edmunds
03/24/2025, 2:13 PM