-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Define docker hostname/DNS underscore behavior #2160
Comments
Keep in mind that my reference to this repository was for image distribution (e.g. We removed the validation on hostnames for containers (moby/moby#28990), but hostnames are local to the container, so not the name under which containers can be "discovered". |
@thaJeztah thanks for the clarification. |
@mostolog The grammar for image names does not allow As far as moby/swarmkit#1242 is concerned, If compose/stack/deploy are pushing names that end up with |
@stevvooe should I report? Would you? |
@mostolog I am not sure. Perhaps, the compose project would be the right place. I am closing this issue, since we will not be adding support for underscores. |
Hi
As discussed in moby/moby#27447 and suggested by @thaJeztah I file this issue in order to ask @docker for a clear statement on using underscores in container/services hostnames.
According to http://stackoverflow.com/a/2183140:
With moby/swarmkit#1242 in mind, it would be great to know how underscores should be considered: Should docker binaries use "-" instead of "_" for compose/stack deploy/services instead? Might docker allow underscores in hostname but emit a warning if there are any?
Regards.
The text was updated successfully, but these errors were encountered: