-
Notifications
You must be signed in to change notification settings - Fork 1.4k
HashiStack #203
base: main
Are you sure you want to change the base?
HashiStack #203
Conversation
Cool stuff! Most likely what is going on is Vault is not actually running. Note this part of the Vault dockerfile:
You'll also need to set a "overrideCommand": false |
Okay, so now I can add keys to vault, see all the UIs, everything seems great, but then I get That seems to have some indications of what changes need to be made, but alas I am entering unknown territory.. Think I need to use: |
As far as I can tell, this now works with nomad / consul / vault locally, all using development servers. I was able to deploy a redis job to nomad, add keys to vault, and view the consul UI. Things I think could be done better:
|
@thoward27 On appPorts, what might be going on is that the servers are only listening to localhost - which won't work with "published" Docker ports. (This is sort of like you starting a server on your local machine, and then trying to connect to it from another one.) The current VS Code Insiders release as a "forwardPorts" directive that uses VS Code's built in forwarding mechanism instead of a Docker "publish". That might work in this case and will land in stable sometime next week assuming all goes as expected. In terms of "up.sh", using cmd/entrypoint is the way to go. One other thing I noticed is you can likely depend on the newly published base ubuntu image we're also now publishing. |
Thanks again for opening this PR and for the discussion so far! As a heads up, our team has been actively focused on an updated plan for community contributions and this repo moving forward, which we've now outlined in this issue: #1589. This includes moving to a couple new repos for images (https://github.com/devcontainers/images) and Features (https://github.com/devcontainers/features). We anticipate to have a similar repo and distribution process for templates/definitions. We'll keep everyone updated (likely via another issue in this repo or comment on #1589) when our new templates repo is available and the process is defined. Please let me know if you have any questions, thank you! |
Add a devcontainer for working with the HashiStack (nomad + consul + vault)
There are still some problems here, when trying to walk through Nomad's vault integration guide I get the following error:
References: