jekyll-docker
jekyll-docker copied to clipboard
Jekyll Server docker run command unwanted behavior in ZSH
When running the provided docker run
command in ZSH in order to deploy a Jekyll server I got an unwanted behavior:
$ docker run --rm \
--volume="$PWD:/srv/jekyll" \
--publish [::1]:4000:4000 \
jekyll/jekyll \
jekyll serve
zsh: no matches found: [::1]:4000:4000
Please update the README with the following command (basically encloses the --publish
option value in double quotes):
$ docker run --rm \
--volume="$PWD:/srv/jekyll" \
--publish "[::1]:4000:4000" \
jekyll/jekyll \
jekyll serve
I checked also in Bash and it doesn't break anything.
Thank you.