devcontainers / devcontainers/features
docker-from-docker: vscode soft-reloading on running any `docker` command
- Lingua principale
- Shell
- Stelle
- 1.5k
- Fork
- 621
- Merge medio
- 6g 53m
- PR unite (30g)
- 9
Descrizione
I'm running a devcontainer with a custom debian `bullseye`-based image. I'm installing only the docker cli inside the container using `COPY --from=hub.docker.com/docker:dind /usr/local/bin/docker /usr/local/bin/`. I'm mounting the docker socket and authentication keys in the `~/.docker` folder.
`docker` commands inside the devcontainer are working fine, it's interacting with the remote host docker daemon and doing whatever I tell it, however everytime I run a `docker` command vscode _soft reloads_ the entire UI, as in the whole window refreshes. The terminal appears to continue in the background and nothing really breaks, it's just a very janky user experience if I have to wait 5-10s every time I run a docker command to wait for the UI to reload.
Is there any way of preventing the reload?
Thanks
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non è indicato alcun file del repository né alcun test. Riproduci il problema con il devcontainer Debian bullseye personalizzato, la Docker CLI copiata da docker:dind, il socket Docker montato e le credenziali ~/.docker, quindi esegui comandi Docker dal container. L'attività è completata quando i comandi Docker continuano a funzionare senza aggiornare la UI della finestra di VS Code.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker
- Ambito
- developer-experience, devops
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100