-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/bin/bash: .command.sh: No such file or directory #73
Comments
I'm using 10.10.5 and it's working ok with docker installed using the recent version you mention: bash-3.2$ nextflow run helloworld -with-docker nextflow/examples
N E X T F L O W ~ version 0.15.3
Launching 'nextflow-io/helloworld' - revision: 35f898dfe5 [master]
[warm up] executor > local
[4c/6141cb] Submitted process > sayHello (5)
[92/6a7ec7] Submitted process > sayHello (1)
[a1/51b7dc] Submitted process > sayHello (2)
[ad/455ccd] Submitted process > sayHello (4)
[a1/44468f] Submitted process > sayHello (3)
Hello world!
Γεια σου world!
Bojour world!
Ciao world!
Hola world! And some info: bash-3.2$ docker -info
flag provided but not defined: -info
See 'docker --help'.
bash-3.2$ docker info
Containers: 2
Images: 33
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 37
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.0.9-boot2docker
Operating System: Boot2Docker 1.8.1 (TCL 6.3); master : 7f12e95 - Thu Aug 13 03:24:56 UTC 2015
CPUs: 1
Total Memory: 1.956 GiB
Name: default
ID: KITL:ILHZ:DZWK:MXUP:TS2N:7RKW:6OAU:SGA6:S2WL:2RII:4LFW:D7FD
Debug mode (server): true
File Descriptors: 11
Goroutines: 21
System Time: 2015-09-22T13:54:45.87807142Z
EventsListeners: 0
Init SHA1:
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
Labels:
provider=virtualbox |
It looks to me, that your docker installation is not mounting the hosting (Mac) file system. You can verify that running running this command:
It should list the content of the directory where you have executed it. |
What I supposed to see? My apologies if this is a Docker issue and not a Nextflow one, I'm new to both, but help is greatly appreciated. |
Wait, this makes sense because you have just created a new empty dir. Try this:
It should list |
It did not list ... that my docker installation is not mounting the hosting (Mac) file system. |
Unfortunately I have no experience with You can try to get help on the Docker forum. Alternatively you can uninstall the Note however that Docker is not mandatory to use Nextflow. The above example can be execute without using it just entering this command:
Docker is only required for the examples using Blast and T-Coffee if you do not have them installed in your computer. |
Thanks a lot. I followed the "tip", changed dir to the working dir and ran
|
This confirms that the problem is Docker, because when you executes Since your Docker installation is not mounting the hosting file system it is unable to access that script. I suppose that is an issue with the |
I'm closing this as it doesn't look to be a nextflow problem. Feel free to comment below if you need further help. |
Hi Hugues, I see from your first message your Nextflow work folder is If you use the Hope it helps! |
You got it! Surely that's the problem. |
@emi80 you nailed it! Thank you so much and everyone else for helping out! @pditommaso I can't wait digging deeper into Nextflow! In the meantime I had downgraded to VirtualBox 4.3.30r and Docker 1.8.2, but of course that did not help. |
this happens with any remote configuration setup using docker-machine. I've setup a remote swarm controlled with docker machine on a cluster and was experimenting with nextflow, but getting scripts in and out (if i understand correctly) don't work. I think this will become a more used use case in scientific computing - firing jobs to a remote machine or cluster. getting data in and out of a remote docker container is a bit of an unsolved problem afaik, maybe a volume driver is the way to go. |
I am still facing the same issue; bash work/39/94a36d502ce72117d15d7ee42cfda6/.command.run work/39/94a36d502ce72117d15d7ee42cfda6/.command.sh: No such file or directory Maybe : Since your Docker installation is not mounting the hosting file system it is unable to access that script. Is there any solution for this? |
I'm also seeing the error about .command.run not found. Inspected the container using this command: and also inspected my local file system, and I cannot find anything like '.command.*' This is what I tried and the error received: $ nextflow run nextflow-io/hello Caused by: Command executed: echo 'Bonjour world!' Command exit status:Command output: Command wrapper: Work dir: Tip: when you have fixed the problem you can continue the execution adding the option I also tried another sample project, and got the same problem in the above. I did see pod created and terminated when I run the command, and I assume it's running with the nextflow.config that is stored in the project specified. Please bear with me if I'm missing something obvious as I'm fairly new to Nextflow, Kubernetes and Docker :) |
Edit:
docker-machine
only mounts /Users (see comment)Original post:
All examples from https://github.com/nextflow-io/examples run fine, but not when using
-with-docker
.I'm using OSX 10.9.5.
I installed Docker through
brew cask
:Some additional info:
Note that there has been a very recent version for Docker that runs on MacOS without resorting to
boot2docker
(see how-to-use-docker-on-os-x-the-missing-guide), perhaps this is useful info.The text was updated successfully, but these errors were encountered: