-
Notifications
You must be signed in to change notification settings - Fork 881
Problems with adding a coder_app to a coder_agent when there are multiple agents #13358
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
Comments
Can you provide me the error? This should work. |
I encountered the same error. I'm using Coder in a Docker Container.
I think #12266 also describes this problem. |
@mgn901 our error is poor there, but you can just create a unique |
Sorry for my lack of explanation. I'm making a template to host devcontainer created by @devcontainer/cli on DinD workspace. I defined two agents:
I also tried to remove In my case removing |
I'm also experimenting with the But envbuilder currently lacks features and is not a drop in replacement. Gitpod will fully support the devcontainer spec later this year using the reference cli. IMO coder should also offer a solution for full support this year. @kylecarbs do you have any plans or solution in mind to solve @mgn901's issue without using a second agent ? |
@ggjulio I think it'd be better to use a It would be nice to show that build output directly in the Coder build logs. I agree the current UX for executing the devcontainer CLI is far from amazing. I was considering making a devcontainer CLI Terraform provider, maybe we'll do that. |
@ggjulio I'm confident you can send logs before the agent is connected, so during the build phase the devcontainer CLI output could be piped via our API. Edit: That way you can have a single agent, which is certainly preferred. |
@kylecarbs Not sure how At least as a workaround for troubleshooting I was thinking of starting the agent outside the container if Piping to the api seem a better solution though, seems to solve all the issues. |
I'm having some issues with setting a
coder_app
for a singlecoder_agent
in a template. When I do, I get a "internal provisionerserver error" (no other errors can be seen)Here's roughly what I have:
If I remove the
coder_app
everything builds fine and I can use the template, minus the public shared url. Is there something I'm doing incorrectly that doesn't seem obvious to me?The text was updated successfully, but these errors were encountered: