Skip to content
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

Error when trying to run docker #82

Open
ghost opened this issue Mar 4, 2016 · 10 comments
Open

Error when trying to run docker #82

ghost opened this issue Mar 4, 2016 · 10 comments

Comments

@ghost
Copy link

ghost commented Mar 4, 2016

Hi there,

always when I try to run docker, no matter what, it returns an error:

*/Users/username/.nvm/versions/node/v5.5.0/lib/node_modules/docker/src/docker.js:259
throw err;
^

Error: ENOENT: no such file or directory, lstat '/Users/username/run'
at Error (native)*

I've tried your tutorials and also the ones from the docker.com page, nothing seems to help.

I am running on a Macbook Pro, docker-machine is running.

What can I do here?

@jupiterkenji
Copy link

What's your docker run command?

@ghost
Copy link
Author

ghost commented Mar 16, 2016

Hi @stewiegaribaldi

I was pretty much going by the tutorial provided in https://github.com/meteorhacks/meteord

 docker build -t myname/app .

It returns the error:
Error: Error calling pygmentize: Error: no lexer for alias 'typescript' found

@jupiterkenji
Copy link

Sorry, I'm not sure, I did the 2.1 From a Local Mount and it works fine.

@ghost
Copy link
Author

ghost commented Mar 16, 2016

just a second, i will try 2.1

@ghost
Copy link
Author

ghost commented Mar 16, 2016

docker actually looks for a file called run instead of running the container. that is the error msg:
Error: ENOENT: no such file or directory, lstat '/Users/tseckert/My_Proj_Dir/run'
at Error (native)

@jupiterkenji
Copy link

I have a feeling it is your code where you try to read that file. May be try to put the run file there and see what it says?

@ghost
Copy link
Author

ghost commented Mar 17, 2016

Yes, but is run in docker run a file or a command?
Because the error states that the file run is not there but usually it
should be a command is it?

Am Donnerstag, 17. März 2016 schrieb stewiegaribaldi :

I have a feeling it is your code where you try to read that file. May be
try to put the run file there and see what it says?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#82 (comment)

@jupiterkenji
Copy link

I think you need to do:
docker run -v /your_computer_folder/run:/Users/tseckert/My_Proj_Dir/run ...

@ghost
Copy link
Author

ghost commented Mar 17, 2016

Also I don't know whether it is because my app is a mobile Cordova app? Maybe I should try a small testing project first and see if that works.

@jupiterkenji
Copy link

I agree, go to basic when things don't work. but I think it's because you don't attach your docker volume -v as I mentioned previously. Let me know how it goes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant