oxo-flow export#
Export a workflow to a container definition (Dockerfile, Singularity definition, Docker Compose) or a standalone TOML file.
Usage#
Arguments#
| Argument | Description |
|---|---|
<WORKFLOW> |
Path to the .oxoflow workflow file |
Options#
| Option | Short | Default | Description |
|---|---|---|---|
--format |
-f |
docker |
Export format (docker, singularity, compose, toml) |
--output |
-o |
stdout | Output file path |
Examples#
Export to Dockerfile#
Export to Singularity definition#
Export to Docker Compose#
Export to standalone TOML#
Output#
oxo-flow v0.15.0 — Rust-native bioinformatics pipeline engine
# Auto-generated by oxo-flow for workflow: file-pipeline
FROM ubuntu:22.04
LABEL org.opencontainers.image.title="file-pipeline"
LABEL org.opencontainers.image.version="1.0.0"
# System dependencies
RUN apt-get update && apt-get install -y \
curl wget git build-essential \
&& rm -rf /var/lib/apt/lists/*
...
When writing to a file with -o, the definition is saved and a confirmation
message is printed instead: ✓ Exported docker to <path>.
Notes#
- Container exports include all environment requirements specified in the workflow
- TOML export bundles all includes into a single, standalone workflow file
(equivalent to the
formatcommand without its--checkmode) - Useful for archiving workflows or deploying to restricted environments