Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enclosing [::1]:4000:4000 in single quotes #360

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yassinechih7
Copy link

running

docker run --rm \
  --volume="$PWD:/srv/jekyll:Z" \
  --publish [::1]:4000:4000 \
  jekyll/jekyll \
  jekyll serve

gives

zsh: no matches found: [::1]:4000:4000

The error message you're seeing suggests that the shell is treating [::1]:4000:4000 as a glob pattern and not finding any matches. To resolve this, I enclosed the publish option in quotes to prevent glob expansion.

@josegonzalez
Copy link

@envygeeks this one seems like a fairly harmless fix, mind 👍🏽?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants