You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I do the same thing without the DockerRequirement I get:
Resolved 'javascript_file2.cwl' to 'file:///Users/psaffrey/cwl_dev/cwl_examples/javascript_file2.cwl'
[job javascript_file2.cwl] /private/var/folders/dh/t5qjl_gx5tq3664vlgbgqplh0000gq/T/tmpYfWsl4$ cat \
example.conf
test stringFinal process status is success
{}```
With the DockerRequirement I get this:
```/usr/local/bin/cwltool 1.0.20161216212910
Resolved 'javascript_file2.cwl' to 'file:///Users/psaffrey/cwl_dev/cwl_examples/javascript_file2.cwl'
[job javascript_file2.cwl] /var/folders/dh/t5qjl_gx5tq3664vlgbgqplh0000gq/T/tmpgx_NP_$ docker \
run \
-i \
--volume=/private/var/folders/dh/t5qjl_gx5tq3664vlgbgqplh0000gq/T/tmpgx_NP_:/private/var/spool/cwl:rw \
--volume=/private/var/folders/dh/t5qjl_gx5tq3664vlgbgqplh0000gq/T/tmpRpeEVS:/tmp:rw \
--workdir=/private/var/spool/cwl \
--read-only=true \
--user=1000 \
--rm \
--env=TMPDIR=/tmp \
--env=HOME=/private/var/spool/cwl \
alpine \
cat \
example.conf
cat: can't open 'example.conf': No such file or directory
[job javascript_file2.cwl] completed permanentFail
Final process status is permanentFail
Workflow error, try again with --debug for more information:
Process status is ['permanentFail']```
Apparently this works on Linux, but not Darwin:
```$ docker --version
Docker version 1.10.1, build 9e83765
$ echo $OSTYPE
darwin15
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.11.6
BuildVersion: 15G1212```
The text was updated successfully, but these errors were encountered:
I'm not sure - it's really a feature of the docker support on this platform. The problem is that you need to provide a --tmpdir-prefix (I think) in the user's home directory because this is the directory that is automatically mounted inside the VM that docker machine uses.
I'm pretty sure this problem will also be seen in Windows machines using docker machine, but I gather cwltool isn't fully supported there yet either.
I have been creating files on-the-fly using the InitialWorkDirRequirement as described here:
http://www.commonwl.org/v1.0/UserGuide.html#Staging_input_files_in_the_output_directory
This works but I find that when I combine this with a DockerRequirement it stops working and I can no longer find the created file. Example:
Input:
test: "test string"
If I do the same thing without the DockerRequirement I get:
The text was updated successfully, but these errors were encountered: