github / github/copilot-cli

Heavy docker use results in redundant confirmations

Aperta
#763 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:permissions
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### Describe the bug

I use docker for everything, that means copilot is using `docker -v...` and EVERY TIME it asks for confirmation of something like `/app` because the command is `docker -v ./something:/app`

Highly annoying as there is no real way to "allow" the directory

### Affected version

0.0.369 Commit: 83653a1

### Steps to reproduce the behavior

1. run with docker heavy usage
2. wait for it to try mount something
3. get asked if it is ok to use directory of mount location

### Expected behavior

as it is mounting folders from the allowed root, it should not worry about where they are mounted on a docker image.

### Additional context

Image

I've also seen this happen for /dev/null when it pipes errors to /dev/null to catch only output.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.