Subsequent shells e.g. `kubectl/docker exec` don't enter as the expected user
Ouverte
- Langage dominant
- Go
- Étoiles
- 300
- Forks
- 64
- Merge moyen
- 20 min
- PR mergées (30 j)
- 1
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- docker, go, kubernetes
- Domaine
- devops, infrastructure
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100