jekyll-docker icon indicating copy to clipboard operation
jekyll-docker copied to clipboard

Jekyll Server docker run command unwanted behavior in ZSH

Open fam4r opened this issue 2 years ago • 0 comments

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.

fam4r avatar Oct 18 '21 14:10 fam4r