github / github/copilot-cli

Heavy docker use results in redundant confirmations

Open
#763 0 comments 0 reactions 0 assignees View on GitHub
area:permissions
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.