Skip to content

Commit 7f29cb5

Browse files
authored
Merge pull request #78 from JMAIA-BD/patch-1
Update 07-containers.md
2 parents 814bad6 + a6338cd commit 7f29cb5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

_episodes/07-containers.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ automatically, allowing you to use Docker to simplify your software
2222
management while avoiding the complexity of invoking and managing Docker
2323
containers.
2424

25+
One of the responsibilities of the CWL runner is to adjust the paths of
26+
input files to reflect the location where they appear inside the container.
27+
28+
2529
This example runs a simple Node.js script inside a Docker container.
2630

2731
*docker.cwl*
@@ -67,10 +71,11 @@ Final process status is success
6771
{: .output}
6872

6973
Notice the CWL runner has constructed a Docker command line to run the
70-
script. One of the responsibilities of the CWL runner is to adjust the paths of
71-
input files to reflect the location where they appear inside the container.
74+
script.
75+
7276
In this example, the path to the script `hello.js` is `/home/me/cwl/user_guide/hello.js`
7377
outside the container but `/var/lib/cwl/job369354770_examples/hello.js` inside
7478
the container, as reflected in the invocation of the `node` command.
7579

80+
7681
[docker]: https://docker.io

0 commit comments

Comments
 (0)