Skip to content

docs(docker-install): Add OSX port forwarding note #1925

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

Merged
merged 1 commit into from
Feb 13, 2017
Merged

docs(docker-install): Add OSX port forwarding note #1925

merged 1 commit into from
Feb 13, 2017

Conversation

iDVB
Copy link
Contributor

@iDVB iDVB commented Jan 31, 2017

  • Add note to people on OS X about how to properly forward ports so that you can browse to http://localhost:8123
  • This tripped me and a co-worker up a fair bit so I'm hoping it will save others a good deal of googling.

- Add note to people on OS X about how to properly forward ports so that you can browse to http://localhost:8123
- This tripped me and a co-worker up a fair bit so I'm hoping it will save others a good deal of googling.
@mention-bot
Copy link

@iDVB, thanks for your PR! By analyzing the history of the files in this pull request, we identified @balloob, @MTRNord and @infamy to be potential reviewers.

@@ -19,6 +19,8 @@ This will launch Home Assistant and serve the web interface from port 8123 on yo

<p class='note'>
When using boot2docker on OS X you are unable to map the local time to your Docker container. Replace `-v /etc/localtime:/etc/localtime:ro` with `-e "TZ=America/Los_Angeles"` (replacing America/Los_Angeles with [your timezone](http://en.wikipedia.org/wiki/List_of_tz_database_time_zones))

Additionally, if your expectation is that you will be able to browse directly to `http://localhost:8123` on your OS X host, then you will also need to replace the `--net=host` switch with `-p 8123:8123`. This is currently the only way to forward ports on to your actual host(OS X) machine instead of the virtual machine inside xhyve. More detail on this can be found in [the docker forums](https://forums.docker.com/t/should-docker-run-net-host-work/14215/10).
</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not an Apple user here. If there is no difference between OS X and macOS installations then we should use macOS. Like in the other docs.

Copy link
Member

@fabaff fabaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will merge it and fix the name 🐦

@fabaff fabaff merged commit 7422f7c into home-assistant:next Feb 13, 2017
fabaff pushed a commit that referenced this pull request Feb 13, 2017
- Add note to people on OS X about how to properly forward ports so that you can browse to http://localhost:8123
- This tripped me and a co-worker up a fair bit so I'm hoping it will save others a good deal of googling.
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

Successfully merging this pull request may close these issues.

3 participants