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

Provided Dockerfile doesn't work with Docker for Mac #119

Closed
alexellis opened this issue Mar 12, 2017 · 3 comments
Closed

Provided Dockerfile doesn't work with Docker for Mac #119

alexellis opened this issue Mar 12, 2017 · 3 comments
Labels

Comments

@alexellis
Copy link

What I expected:

Beehive on http://localhost:8181 using Docker for Mac 17.03.0-ce.

What I tried:

Building with docker/Dockerfile - running with -p 8181:8181 with or without or --net=host.

I suspect this may be something to do with some code binding only to "localhost" ?

Do you guys only test the Dockerfile on a Linux host?

Cheers,

Alex

@Joshfindit
Copy link

Note for whomever works to resolve this: --net=host does not work on OSX ( docker/for-mac#155 (comment) )

@muesli
Copy link
Owner

muesli commented Mar 12, 2017

You can try binding it to other interfaces / addresses: ./beehive -bind ":8181"

@GabrielAlacchi
Copy link
Contributor

Hey sorry I'm late to the party. I'd love to help! Do you think you could perhaps provide output of running docker inspect $container_name/id$. It could possibly provide insight. It is likely that having beehive bind to "0.0.0.0" in the container might solve the issue. In my experience on Ubuntu binding to localhost in the container works fine but I could be wrong.

muesli pushed a commit that referenced this issue Apr 5, 2017
)

* Fixed Typo in README
* Dockerfile now binds to 0.0.0.0 in the container
@muesli muesli closed this as completed Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants