github / github/copilot-cli

Heavy docker use results in redundant confirmations

Đang mở
#763 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:permissions
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.