Conversation
✅ Deploy Preview for nextflow-training ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Nextflow linting complete! ✅ 171 files had no errors View formatting changes
|
|
Sadly seems that docker-in-docker is still problematic in Studios: Example Nextflow CLI output with errorroot@ip-172-31-40-73:~/training/hello-nextflow# nextflow run solutions/5-hello-containers/hello-containers-2.nf -c solutions/5-hello-containers/nextflow.config
Nextflow 25.10.3 is available - Please consider updating your version to it
N E X T F L O W ~ version 25.10.2
Launching `solutions/5-hello-containers/hello-containers-2.nf` [silly_davinci] DSL2 - revision: 7fb7d4ac03
executor > local (8)
[c3/e4267e] process > sayHello (2) [100%] 3 of 3 ✔
[12/eba44b] process > convertToUpper (3) [100%] 3 of 3 ✔
[7e/2f1416] process > collectGreetings [100%] 1 of 1 ✔
[75/4b73aa] process > cowpy [ 0%] 0 of 1
ERROR ~ Error executing process > 'cowpy'
Caused by:
Process `cowpy` terminated with an error exit status (125)
Command executed:
cat COLLECTED-batch-output.txt | cowpy -c "turkey" > cowpy-COLLECTED-batch-output.txt
Command exit status:
125
Command output:
(empty)
Command error:
Unable to find image 'community.wave.seqera.io/library/cowpy:1.1.5--3db457ae1977a273' locally
1.1.5--3db457ae1977a273: Pulling from library/cowpy
dafa2b0c44d2: Pulling fs layer
f88da01cff0b: Pulling fs layer
92dc97a3ef36: Pulling fs layer
4f4fb700ef54: Pulling fs layer
403f74b0f85e: Pulling fs layer
0ea1a16bbe82: Pulling fs layer
dec6b097362e: Pulling fs layer
17dc7ea432cc: Pulling fs layer
10b8c00c10a5: Pulling fs layer
4f4fb700ef54: Pulling fs layer
030a47592a0a: Pulling fs layer
e1686ff32a11: Pulling fs layer
c23bdb422167: Pulling fs layer
bb36d6c3110d: Pulling fs layer
403f74b0f85e: Download complete
f88da01cff0b: Download complete
4f4fb700ef54: Download complete
bb36d6c3110d: Download complete
030a47592a0a: Download complete
dec6b097362e: Download complete
92dc97a3ef36: Download complete
0ea1a16bbe82: Download complete
17dc7ea432cc: Download complete
10b8c00c10a5: Download complete
c23bdb422167: Download complete
dafa2b0c44d2: Download complete
e1686ff32a11: Download complete
dec6b097362e: Pull complete
dafa2b0c44d2: Pull complete
403f74b0f85e: Pull complete
f88da01cff0b: Pull complete
4f4fb700ef54: Pull complete
bb36d6c3110d: Pull complete
92dc97a3ef36: Pull complete
17dc7ea432cc: Pull complete
10b8c00c10a5: Pull complete
030a47592a0a: Pull complete
0ea1a16bbe82: Pull complete
c23bdb422167: Pull complete
e1686ff32a11: Pull complete
Digest: sha256:1ebc0043e8cafa61203bf42d29fd05bd14e7b4298e5e8cf986504c15f5aa4160
Status: Downloaded newer image for community.wave.seqera.io/library/cowpy:1.1.5--3db457ae1977a273
docker: Error response from daemon: failed to mount /tmp/containerd-mount2111467694: mount source: "overlay", target: "/tmp/containerd-mount2111467694", fstype: overlay, flags: 0, data: "workdir=/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/15/work,upperdir=/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/15/fs,lowerdir=/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/14/fs:/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/13/fs:/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/12/fs:/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/11/fs:/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/10/fs:/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/9/fs:/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/8/fs:/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/7/fs:/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/6/fs:/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/5/fs:/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/4/fs:/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/3/fs:/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/2/fs:/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs/snapshots/1/fs,index=off", err: invalid argument
Run 'docker run --help' for more information
Work dir:
/workspace/training/hello-nextflow/work/75/4b73aa65b79bacccefa14b265b5999
Container:
community.wave.seqera.io/library/cowpy:1.1.5--3db457ae1977a273
Tip: you can replicate the issue by changing to the process work dir and entering the command `bash .command.run`
-- Check '.nextflow.log' file for details
ERROR ~ Cannot access first() element from an empty List
-- Check '.nextflow.log' file for details
|
…kip ci] The base Studios image (data-studio-vscode) ships micromamba but not the `conda` CLI. Nextflow's `conda` directive defaults to invoking `conda`, which fails with "command not found" on processes that declare a conda package (e.g. cowpy in hello_nextflow lesson 6). Setting NXF_HOME to a path that contains a Studios-only config file lets Nextflow auto-load `conda.useMicromamba = true` from `$NXF_HOME/config`. This isolates the override to Studios: Codespaces sets its own NXF_HOME and never sees this file, and local runs use the default `~/.nextflow`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Add `conda` to environment.yaml so Nextflow's `conda` directive can resolve packages (the Studios base image ships micromamba but not the `conda` CLI). Supersedes the .seqera/nxf/config micromamba workaround, which is now removed. - Add `tree` to environment.yaml (handy for learners inspecting layouts). - Remove computeRequirements block so the compute environment can be selected at launch rather than pinned to AWS Batch 8 CPU / 32 GB. - Bump base template image to 1.101.2-0.12 (current production). - Restore NXF_HOME to /workspace/.nextflow now that the micromamba override is no longer needed. The conda + tree additions and the computeRequirements removal are adopted from #897 (FriederikeHanssen). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Just pushed two commits to
On the conda question: #897 had added the full The remaining open item from #897: she had bumped to Other things in #897 (translations, claude skills updates, scripts) appear unrelated to the Studios config and look like base-branch drift rather than intentional changes — left those out. |
The base Studios image already ships micromamba at /bin/micromamba, so installing the full conda package (~200 MB) just to give Nextflow's `conda` directive a CLI to shell out to is wasteful. Revert to pointing NXF_HOME at .seqera/nxf/ and shipping a one-line config file (`conda.useMicromamba = true`). This tells Nextflow to use the already-installed micromamba binary. Only loaded when NXF_HOME is set to this path (Studios only); Codespaces and local checkouts use a different NXF_HOME and never see the file. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
No description provided.