SamG
CCoder.com
•Created by SamG on 6/7/2024 in #help
Does Coder Honor the Devcontainers Spec fully?
Hi Folks, I've been having some difficulties with devcontainers and coder. I've been using devcontainers successfully with GitHub codespaces. Coder picks up the correct image from devcontainer.json but nothing else. I've attached the template's
// Add the IDs of extensions you want installed when the container is created. "extensions": [ "hashicorp.terraform", "ms-kubernetes-tools.vscode-kubernetes-tools" ] } }, "hostRequirements": { "cpus": 4, "memory": "16gb", "storage": "32gb" } }
main.tf
file and the logs. And below is the devcontainers.json
file. Any suggestions?
{
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
"postCreateCommand": "/bin/bash -i -c .devcontainer/startup_script.sh",
"customizations": {
// Configure properties specific to VS Code.
"vscode": {// Add the IDs of extensions you want installed when the container is created. "extensions": [ "hashicorp.terraform", "ms-kubernetes-tools.vscode-kubernetes-tools" ] } }, "hostRequirements": { "cpus": 4, "memory": "16gb", "storage": "32gb" } }
9 replies