sharkymark/templates/docker-claude: workspaces start with an error because tmux is not installed
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- bash, docker, terraform
- Área
- devops
Línea de trabajo
Start by reading the setup_script preset and the base image configuration for registry/sharkymark/templates/docker-claude; the report identifies a failed apt-get update that prevents tmux from being installed. Check how the setup handles command failures and reproduce the workspace startup error. Done means a new workspace starts the app in tmux and the preview on port 4200 is healthy.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
New workspaces from registry/sharkymark/templates/docker-claude start with an error ("agent startup script exited with an error"), and the "Preview your app" app stays unhealthy. I found this while testing #1180 on a live workspace. The cause is in the template's setup_script preset and the base image, not in #1180, so it stays after #1180 merges.
Startup error and broken Preview app
-
codercom/example-universal:ubuntuincludes a Yarn apt repository whose signing key is missing, sosudo apt-get updatefails:W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525 E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed. -
The
setup_scriptpreset runssudo apt-get update && sudo apt-get install -y tmux. Because the update fails,&&skips the install, andtmuxis never installed. -
The demo repo's
start-dev.shstarts the app in tmux sessions, so it fails with./start-dev.sh: line 106: tmux: command not found. The dev server on port 4200 never starts.
The Ubuntu repositories update correctly, and only the Yarn repository fails. Running sudo apt-get install -y tmux by itself succeeds, and after that start-dev.sh exits 0 and port 4200 returns 200.
Possible fixes:
- Do not let a failed update block the install:
sudo apt-get update || true, thensudo apt-get install -y tmux. - Fix or remove the broken Yarn repository in the image so that
apt-get updatesucceeds.
Other issues
- Chrome for the Playwright MCP server is not installed.
npx playwright install chromealso runsapt-get updateand fails withError: Failed to install chrome. TheplaywrightMCP server still shows as connected. I did not check whether its browser tools work without Chrome. - Setup script errors are hidden. The script has no
set -e, so failures partway through are ignored. Only the last command's exit code counts, so the problem only shows up at the end, attmux. - Modules are not pinned.
coder-login,dotfiles,code-server, andgit-confighave noversion, so every build uses the latest release. - README typo. "Claude CodeAI agent" appears in the frontmatter
descriptionand in the body. preview_portdefault does not match the app. The parameter defaults to3000, but the app runs on4200. The default preset sets4200, so this only matters without the preset.- Cosmetic leftovers in
main.tf. The comment "Use the docker gateway if the access URL is 127.0.0.1" appears twice (once above a commented-outentrypoint), and the agentstartup_scriptis an empty#!/bin/sh.
How it was found
The template was pushed with the #1180 changes (claude-code module 5.5.1) and a workspace was created from the default preset. The evidence comes from ~/.coder-modules/coder/claude-code/logs/post_install.log and from commands run in the workspace. The setup script and image are the same on main.
Generated with Coder Agents.
- Lenguaje dominante
- HCL
- Estrellas
- 81
- Forks
- 169
- Merge medio
- 3 d 7 h
- PR fusionados (30 d)
- 29
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de coder/registry
-
perplexica: deprecate or fixAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
coder/registry#1142 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
Add a stale workflow for PRsAbierto
Dificultad 2/5 Medio día Aptitud para principiantes 68/100
coder/registry#1120 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
coder/registry#1187 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
-
OpenShift templatePosiblemente ocupada @Edd88-pixel la tomó hace 15 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 50/100
coder/registry#1162 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
chore: ensure that AWS EC2 instances actually use the AWS region modulePosiblemente ocupada @phorcys420 la tomó hace 20 días. Abierto
coder/registry#1122 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 2 días
Todos los issues de coder/registry
Issues similares
-
aikido security:critical
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
dequelabs/axe-core-gems#532 ·
-
[BUG]: Windows GUI package of v1.17.0-rc3 has no GTK DLLsPosiblemente ocupada @andrut-ds la tomó hoy. Abiertobug CI/CD Pactus-GUI Windows
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
pactus-project/pactus#2428 ·
Los mantenedores suelen responder en 1 día
-
task
Dificultad 1/5 Menos de una hora Aptitud para principiantes 83/100
TAMULib/fw-registry#550 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
phusion/passenger-docker#480 ·
-
`repository` input doesn't workAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100