Devcontainer with docker-compose
I'm pointing to my repo where my devcontainer points to a dockerComposeFIle:
My docker-compose.yml points to the Dockerfile:
But the workspace builder hangs here:
8 Replies
<#1377080813673382009>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
#1: 📦 Cloned repository! [298.379884ms]
No Dockerfile specified, looking for a devcontainer.json...
Building in Devcontainer mode using /.devcontainer/devcontainer.json
error: no Dockerfile or image found: no fallback image has been specified
I would love to be able to get logs but I can't access anything beyond this. "Download Logs" is not available to click. I've even enabled
"ENVBUILDER_LOG_LEVEL" = "debug"
If I click stop it doesn't give me the ability to access logs.
SSH fails
Got ssh connected but it just shows the same logs as in the ui:
Oh well I just found the issues on GitHub about not supporting the compose. So I'm guessing this can be closed.
You can give the new https://registry.terraform.io/providers/coder/coder/latest/docs/resources/devcontainer resource a try.
Its still a work in progress and requires your workspace image to be able to run docker images.
Thank you! I'll look into it!!!