You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ti...@apache.org on 2015/12/17 06:39:50 UTC

[2/2] mesos git commit: Added note to site-docker doc about tunneling.

Added note to site-docker doc about tunneling.

If we are running the site-docker container on a remote machine, we
should set up a tunnel to localhost to view the site locally. This
commit adds a note about how to do so.

Review: https://reviews.apache.org/r/41278/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/73046f72
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/73046f72
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/73046f72

Branch: refs/heads/master
Commit: 73046f722d38b08bac4622d8c57c516a56a8dbba
Parents: 469fc09
Author: Kevin Klues <kl...@gmail.com>
Authored: Thu Dec 17 06:37:56 2015 +0100
Committer: Till Toenshoff <to...@me.com>
Committed: Thu Dec 17 06:37:56 2015 +0100

----------------------------------------------------------------------
 support/site-docker/README.md | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/73046f72/support/site-docker/README.md
----------------------------------------------------------------------
diff --git a/support/site-docker/README.md b/support/site-docker/README.md
index 80d34f3..957117e 100644
--- a/support/site-docker/README.md
+++ b/support/site-docker/README.md
@@ -17,5 +17,11 @@ This will start a container, generate the website from your local Mesos Git repo
  - On Linux, the site will be available at http://localhost:4567.
  - On OS X, run `docker-machine ls` to find the IP address of your boot-to-docker VM; the site will be available at that IP, port 4567.
 
+If you are running the container on a remote machine and need to tunnel it to localhost, you can run the following command to make the site available locally:
+
+```
+ssh -NT -L 4567:localhost:4567 <remote-machine>
+```
+
 Any changes to the `site/source` directory will cause middleman to reload and regenerate the website, so you can just edit, save, refresh.
 When you are done with the webserver, hit Ctrl-C in the docker terminal to kill the middleman webserver and destroy/remove the container.