onyx-platform / onyx-dashboard

Dashboard for the Onyx distributed processing system
http://www.onyxplatform.org/
Eclipse Public License 1.0
76 stars 26 forks source link

Update docker run command in readme #57

Closed drewverlee closed 8 years ago

drewverlee commented 8 years ago

The current command in the readme results in a wrong number of arguments error. This corrects that but their can probably be some clarity around why we need to pass in a IP for zookeeper. I would guess its because of differences in environments, but i can't be sure.

With this change i still cannot manage to get the dashboard running however.

  1. fire up a repl in the starter project https://github.com/onyx-platform/onyx-starter
  2. run (user/go) and (require 'onyx-starter.launcher.submit-sample-job)
  3. run docker run -p 3000:3000 onyx/onyx-dashboard:latest "192.168.1.170:2188"
  4. visit localhost:3000
  5. site cannot be reached
gardnervickers commented 8 years ago

@drewverlee Thanks for the PR, as to your issue you're having, I suspect it's because you're using docker-machine or similar where the port is forwarded on your docker-machine ip and not on localhost.

You can find your docker host by echo "$DOCKER_HOST"