Skip to content

Default dns doesn't work on docker #21

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

Closed
wants to merge 1 commit into from

Conversation

marcodearaujo
Copy link

Removed option "-a localhost", because this dns isn't recognized by
docker

Removing this option makes http-server defaults to 127.0.0.1

vuejs/vue-cli#36

Removed option "-a localhost", because this dns isn't recognized by
docker

Removing this option makes http-server defaults to 127.0.0.1

vuejs/vue-cli#36
@chrisvfritz
Copy link
Contributor

Setting to localhost is useful for testing from other devices on a network, such as mobile devices, VMs, or the computers of team members, so removing it for the Docker edge case would actually cause pain for most users. I recommend either:

  • manually updating the config of the project for Docker,
  • opening an issue with http-server for better Docker compatibility, or
  • opening an issue with Docker (or the Docker image you're using) to work in this case.

@chrisvfritz chrisvfritz closed this Oct 6, 2016
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