Site updated at 2017-02-13 12:11:17 UTC
This commit is contained in:
parent
dc79889d32
commit
f974b70050
24 changed files with 48 additions and 45 deletions
|
@ -100,6 +100,8 @@
|
|||
|
||||
<p class="note">
|
||||
When using boot2docker on OS X you are unable to map the local time to your Docker container. Replace <code class="highlighter-rouge">-v /etc/localtime:/etc/localtime:ro</code> with <code class="highlighter-rouge">-e "TZ=America/Los_Angeles"</code> (replacing America/Los_Angeles with <a href="http://en.wikipedia.org/wiki/List_of_tz_database_time_zones">your timezone</a>)
|
||||
|
||||
Additionally, if your expectation is that you will be able to browse directly to <code class="highlighter-rouge">http://localhost:8123</code> on your OS X host, then you will also need to replace the <code class="highlighter-rouge">--net=host</code> switch with <code class="highlighter-rouge">-p 8123:8123</code>. 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 <a href="https://forums.docker.com/t/should-docker-run-net-host-work/14215/10">the docker forums</a>.
|
||||
</p>
|
||||
|
||||
<p>If you change the config you have to restart the server.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue