Subsequent shells e.g. `kubectl/docker exec` don't enter as the expected user
Aperta
- Lingua principale
- Go
- Stelle
- 300
- Fork
- 64
- Merge medio
- 20m
- PR unite (30g)
- 1
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker, go, kubernetes
- Ambito
- devops, infrastructure
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100