-
Hi there, Yesterday I switched form installing the code-server directly in the Dockerfile to using the module: module "code-server" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.2"
agent_id = coder_agent.main.id
display_name = "VS Code"
install_version = "4.21.0"
folder = "/home/${local.username}/workspace"
port = "8080"
extensions = [
"eamodio.gitlens",
"PKief.material-icon-theme"
]
} I then saw, that my resource "coder_agent" "main" {
arch = data.coder_provisioner.me.arch
os = "linux"
startup_script = "code-server"
dir = "/home/${local.username}/workspace/"
} produces this error when I start the container:
So I remove the And when I open the terminal app, it shows this: How can I fix this? Do I need the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You should remove |
Beta Was this translation helpful? Give feedback.
You should remove
startup_script = "code-server"
, module will also start the code-server process