Docker Environment Setup

Provision a reproducible Docker environment for Nextflow training examples.

261|325|Updated Aug 27, 2020
One-click install
npx skills add https://github.com/nextflow-io/training --skill docker-environment-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Docker Environment Setup
Source: https://github.com/nextflow-io/training/tree/main/.claude/skills/docker-setup
Command: npx skills add https://github.com/nextflow-io/training --skill docker-environment-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a ready-to-use Docker environment for Nextflow training materials, ensuring consistent runtimes and locales across tutorials.

Core Features & Use Cases

  • Basic Setup: Creates a container for tutorials without containerized processes.
  • DooD (Docker-outside-of-DooD) Support: Enables containerized tutorials to run inside a Docker-enabled environment.
  • ARM Mac Emulation: Guides on running x86_64 images on Apple Silicon machines.
  • Troubleshooting: Tips to align Codespaces/Gitpod-like environments with learner setups.

Quick Start

Run the basic docker setup to start nf-training with UTF-8 locale and mount the repository at /workspaces/training.

Frequently Asked Questions about Docker Environment Setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Docker environment for Nextflow training tutorials?

To set up a Docker environment for Nextflow training, this Skill provisions a reproducible container with UTF-8 locale support and mounts your repository at /workspaces/training. It reads NXF_VER from devcontainer.json to ensure version consistency across tutorials.

Can I run containerized Nextflow processes inside a Docker-enabled training environment?

Yes, you can run containerized processes using Docker-outside-of-DooD support. This approach enables Docker-enabled environments to execute containerized Nextflow tutorials internally without requiring a nested Docker daemon inside the training container.

Does Nextflow Docker training work on ARM Mac Apple Silicon machines?

Nextflow Docker training works on ARM Mac Apple Silicon machines through x86_64 image emulation. The Skill provides specific guidance to emulate x86_64 images, ensuring tutorials built for Intel architectures run correctly on Apple Silicon hardware.

How do I fix Nextflow training environment inconsistencies in Codespaces or Gitpod?

To fix Nextflow training environment inconsistencies in Codespaces or Gitpod, the Skill provides troubleshooting tips to align cloud-like environments with local learner setups. It ensures consistent runtimes and locales by reading NXF_VER from devcontainer.json for version control.

What is Docker-outside-of-DooD and when do I need it for Nextflow?

Docker-outside-of-DooD is a mechanism that allows a Docker-enabled environment to run containerized Nextflow tutorials internally. You need it when your training examples require containerized processes to execute correctly within the provisioned reproducible Docker environment.