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

[Docker] Can't start image: fatal: Not a git repository (or any of the parent directories): .git #65

Open
mickaelistria opened this issue May 3, 2018 · 2 comments

Comments

@mickaelistria
Copy link

I'm trying to start the Language Server through Docker image, but get error fatal: Not a git repository (or any of the parent directories): .git.

$ docker run mtsmfm/language_server-ruby
Unable to find image 'mtsmfm/language_server-ruby:latest' locally
latest: Pulling from mtsmfm/language_server-ruby
ff3a5c916c92: Pull complete 
8e2da6035957: Pull complete 
42e99ed6de92: Pull complete 
70c638bbd0d9: Pull complete 
0a88fcb337a1: Pull complete 
5ff79293d45f: Pull complete 
6048a57a269e: Pull complete 
e77f706abe49: Pull complete 
6f934948f8c2: Pull complete 
0c13aaf7ddef: Pull complete 
c9170603934c: Pull complete 
Digest: sha256:5f2c75320c2adc06be65f1e157e3b58f4841de88253e01beacffadff9e26fba4
Status: Downloaded newer image for mtsmfm/language_server-ruby:latest
fatal: Not a git repository (or any of the parent directories): .git

I tried from multiple directories in case it would change something but it seems like it didn't have any effect.

@mtsmfm
Copy link
Owner

mtsmfm commented May 7, 2018

Thank you for your reporting.

This message is unexpected one but it works well.
This language server connects to client via STDIO so you need -it option.

docker run -it mtsmfm/language_server-ruby

@calebmeyer
Copy link

Can we update the readme to say that?

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

3 participants