Nicolas Vannieuwkerke
05/11/2026, 11:09 AMtest,docker profile I get the following error:
Command error:
bash: .command.run: No such file or directory
Anyone any idea of what is going wrong here?Nicolas Vannieuwkerke
05/11/2026, 11:09 AMdocker run hello-world does work succesfullyNicolas Vannieuwkerke
05/11/2026, 11:09 AM.command.run file is available in the work directory pointed to by the failing processMahesh Binzer-Panchal
05/11/2026, 11:25 AM-v /etc/passwd:/etc/passwd:ro -v /etc/shadow:/etc/shadow:ro -v /etc/group:/etc/group:ro those help in your dev container setup?Nicolas Vannieuwkerke
05/11/2026, 11:43 AMMahesh Binzer-Panchal
05/11/2026, 11:44 AMNicolas Vannieuwkerke
05/11/2026, 11:44 AMroot userNicolas Vannieuwkerke
05/11/2026, 11:44 AMMahesh Binzer-Panchal
05/11/2026, 11:45 AMNicolas Vannieuwkerke
05/11/2026, 11:46 AMMahesh Binzer-Panchal
05/11/2026, 11:46 AMMahesh Binzer-Panchal
05/11/2026, 11:47 AMNicolas Vannieuwkerke
05/11/2026, 11:47 AM/workspaces/smallvariants but it can't find that absolute pathNicolas Vannieuwkerke
05/11/2026, 11:48 AMNicolas Vannieuwkerke
05/11/2026, 11:50 AMMahesh Binzer-Panchal
05/11/2026, 11:51 AMMahesh Binzer-Panchal
05/11/2026, 11:53 AMNicolas Vannieuwkerke
05/11/2026, 12:10 PMNicolas Vannieuwkerke
05/11/2026, 1:38 PMMahesh Binzer-Panchal
05/11/2026, 1:39 PMMahesh Binzer-Panchal
05/11/2026, 1:39 PMNicolas Vannieuwkerke
05/11/2026, 1:40 PMJAVA_HOME env variable correctly resulting in the following error:
Execution failed for task ':compileGroovy'.
> Error while evaluating property 'groovyCompilerJvmVersion' of task ':compileGroovy'.
> Failed to query the value of task ':compileGroovy' property 'javaLauncher'.
> Cannot find a Java installation on your machine (Linux 7.0.3-arch1-2 amd64) matching: {languageVersion=21, vendor=any vendor, implementation=vendor-specific, nativeImageCapable=false}. Toolchain auto-provisioning is not enabled.Mahesh Binzer-Panchal
05/11/2026, 1:43 PMJAVA_HOME is set? Otherwise you can make an entry for it in the activation sectionNicolas Vannieuwkerke
05/11/2026, 1:44 PM$ echo $JAVA_HOME
/home/nvnieuwk/Documents/nextflow/plugins/nf-cmgg/.pixi/envs/default/lib/jvmNicolas Vannieuwkerke
05/11/2026, 1:46 PMMahesh Binzer-Panchal
05/11/2026, 1:48 PMmake assemble
./gradlew assemble
> Task :compileGroovy FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileGroovy'.
> Error while evaluating property 'groovyCompilerJvmVersion' of task ':compileGroovy'.
> Failed to query the value of task ':compileGroovy' property 'javaLauncher'.
> Cannot find a Java installation on your machine (Mac OS X 26.4.1 aarch64) matching: {languageVersion=21, vendor=any vendor, implementation=vendor-specific, nativeImageCapable=false}. Toolchain download repositories have not been configured.
* Try:
> Learn more about toolchain auto-detection and auto-provisioning at <https://docs.gradle.org/8.14/userguide/toolchains.html#sec:auto_detection>.
> Learn more about toolchain repositories at <https://docs.gradle.org/8.14/userguide/toolchains.html#sub:download_repositories>.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
BUILD FAILED in 846ms
1 actionable task: 1 executed
make: *** [assemble] Error 1Nicolas Vannieuwkerke
05/11/2026, 1:49 PMNicolas Vannieuwkerke
05/11/2026, 1:50 PMMahesh Binzer-Panchal
05/11/2026, 1:51 PMpixi add gradle , exiting the env, and restarting it, doesn't work for me. I still get the same errorNicolas Vannieuwkerke
05/11/2026, 1:52 PM./gradlew executable. Can you try gradle assemble?Mahesh Binzer-Panchal
05/11/2026, 1:53 PMNicolas Vannieuwkerke
05/11/2026, 1:54 PMJulian Flesch
05/11/2026, 8:11 PM"workspaceFolder": "${localWorkspaceFolder}",
"workspaceMount": "source=${localWorkspaceFolder},target=${localWorkspaceFolder},type=bind"
It sounds a like maybe nextflow couldn't find the workdir.Julian Flesch
05/11/2026, 8:13 PMJulian Flesch
05/11/2026, 8:15 PMNicolas Vannieuwkerke
05/12/2026, 2:01 PMJonathan Manning
05/22/2026, 9:14 AM.command.run: No such file or directory on the Nextflow training repo. @Julian Flesch is on the right track.
docker-outside-of-docker mounts the host's Docker socket. So when Nextflow runs docker run -v /workspaces/smallvariants/work/..., it's the host daemon doing the bind, and the host has no /workspaces/smallvariants (that path only exists inside the devcontainer). The mount silently fails, the task container starts with no workdir, and bash can't find .command.run.
Fix: make the in-container path match the host path so Docker resolves it either way.
"workspaceFolder": "${localWorkspaceFolder}",
"workspaceMount": "source=${localWorkspaceFolder},target=${localWorkspaceFolder},type=bind"
That's what we do in .devcontainer/local-dev/devcontainer.json on nextflow-io/training, which is an alternate for folks not using Codespaces. Codespaces gets away without it because GitHub controls both sides and /workspaces/<repo> agrees.
About the popup, workspaceMount is locked in at container creation. You need Dev Containers: Rebuild Container, not a restart.
Ref: https://github.com/nextflow-io/training/blob/master/.devcontainer/local-dev/devcontainer.jsonNicolas Vannieuwkerke
05/22/2026, 9:18 AM