dynamic_ports = ["443", "80"]
4. How to specify the --name attribute for the container. Is it the task name?
I hope these questions make sense.
Thanks
I am just getting started with Nomad, porting a bunch of home grown bash scripts over to a .nomad file.I have a few questions that I can't find answers to in the docs.1. The existing docker run uses options like "--add-host ... and --privileged ...I see there is a "command" section in the task config, but no other details. DO I have to take complete control over the entire docker run command?
2. The existing system had a home grown template system so only the variables need to be defined, vs manually editing like the .nomad fileIs there or could there be a templating system to help abstract out the "variables" ?
3. The existing system had docker port mappings like -p 81:80. I'm confused about to to specify this with the dynamic_ports settings. Would it bedynamic_ports = ["443", "80"]
4. How to specify the --name attribute for the container. Is it the task name?
I hope these questions make sense.
Thanks
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/nomad/issues
IRC: #nomad-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Nomad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomad-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/bcf25588-6956-4686-949c-be01df61973a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks, but how can I pass --privileged to the docker run command from the .nomad file?
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/nomad/issues
IRC: #nomad-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Nomad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomad-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/39261865-d32c-4d34-8a7d-4387b1ff7fbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
How about support for --add-host ?