Subsequent shells e.g. `kubectl/docker exec` don't enter as the expected user
Abierto
- Lenguaje dominante
- Go
- Estrellas
- 300
- Forks
- 64
- Merge medio
- 20 min
- PR fusionados (30 d)
- 1
Descripción
I.e. using https://github.com/coder/envbuilder-starter-devcontainer, which sets up user `coder` when `docker exec` get:
`root@remote-development:/workspaces/envbuilder-starter-devcontainer#`
Can then `sudo -su coder` and the environment is as expected.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Reproduce the behavior with the envbuilder-starter-devcontainer example and a subsequent docker exec or kubectl exec shell. Investigate how the container user is selected, then verify that subsequent shells enter as coder rather than root and retain the expected environment.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- docker, go, kubernetes
- Área
- devops, infrastructure
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100