Open AlexisBRENON opened 8 years ago
Good catch @AlexisBRENON. We should probably add a note about this to the README. Would you like to make a Pull Request?
For sure, I can make a PR if necessary, but is there an elegant way to fix this without adding the --host
option manually? An option in docker to translate requester IP or something like this...
it seems that this issue should be closed now
Hi,
$ docker run --rm -v $PWD:/usr/src/app -p 4000:4000 starefossen/github-pages:latest jekyll serve --config _config.yml,_config_local.yml
_config_local.yml
containsOutput:
Result: generated site is inaccessible from the host via
localhost:4000
.Workaround is to add
--host 0.0.0.0
to the command line:See configuration files
Kind regards, Alexis.