dldl / sphinx-preview

Sphinx preview in Atom
MIT License
5 stars 4 forks source link

Docker for Mac - Error Code 404 #4

Closed lexicalunit closed 7 years ago

lexicalunit commented 7 years ago

At first I kept getting the error that it couldn't connect to localhost:2375. After some searching I found out that Docker for Mac doesn't expose that port directly. The workaround is to use socat, like so:

run -d -v /var/run/docker.sock:/var/run/docker.sock -p 127.0.0.1:2375:1234 bobrik/socat TCP-LISTEN:1234,fork UNIX-CONNECT:/var/run/docker.sock

That got me a little further, but I also had to manually pull the sphinx server image:

docker pull dldl/sphinx-server:latest

Now I'm stuck with this error:

screen shot 2017-04-25 at 6 06 03 pm

This is what I get when I run a preview for an empty rst file. Thoughts?

quentinus95 commented 7 years ago

Hi, thanks for reporting the issue, I'll have a Mac next week to be able to reproduce and fix the issue.

I'll keep you informed.

quentinus95 commented 7 years ago

To be fixed first:

quentinus95 commented 7 years ago

The issue may be fixed thanks to 0.1.1 release.

Please see my comment on issue #5.