add couple edits to get working on guest OS -- expose on non-localhost (#857)

This commit is contained in:
Christian Posta 2018-01-08 19:31:14 -07:00 committed by Laurent Demailly
parent ba76cf4e46
commit a43c8e0d08
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ To run the site locally with Docker, use the following command from the toplevel
```bash
# First time: (slow)
docker run --name istio-jekyll --volume=$(pwd):/srv/jekyll -it -p 127.0.0.1:4000:4000 jekyll/jekyll:3.5.2 sh -c "bundle install && rake test && jekyll serve --incremental"
docker run --name istio-jekyll --volume=$(pwd):/srv/jekyll -it -p 4000:4000 jekyll/jekyll:3.5.2 sh -c "bundle install && rake test && bundle exec jekyll serve --incremental --host 0.0.0.0"
# Then open browser with url 127.0.0.1:4000 to see the change.
# Subsequent, each time you want to see a new change and you stopped the previous run by ctrl+c: (much faster)
docker start istio-jekyll -a -i