-
Notifications
You must be signed in to change notification settings - Fork 2k
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
docker port allocation not mapping correctly #466
docker port allocation not mapping correctly #466
Conversation
Can you please show your job spec, so we can reproduce? — On Thu, Nov 19, 2015 at 10:29 AM, Antonio Fdez. [email protected]
|
I see, so the host port is being exposed.
|
Thanks for the PR. I'll add a test for this too. |
docker port allocation not mapping correctly
@fernandezvara In the mean time you should still be able to expose the port in your Dockerfile. The redis container does this by default, and is likely why we didn't notice this. |
Ensure that the client honors the client configuration for the `template.disable_file_sandbox` field when validating the jobspec's `template.source` parameter, and not just with consul-template's own `file` function. Prevent interpolated `template.source`, `template.destination`, and `artifact.destination` fields from escaping file sandbox.
ci: update config
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Hi,
today we have been trying 0.2.0 and all the new things worked except the port mappings. Don't know if bug or our poor knowledge.
Same results on linux and mac+kitematic btw.
Reproduce steps:
Port mappings maps the same port on host than container, but not the exposed one.
After the little code change we got this.