AdguardTeam / AdguardTeam/AdGuardHome

Docker drop privileges

Đang mở
#7,619 1 bình luận 6 reaction 0 người được giao Xem trên GitHub
feature request
Ngôn ngữ chính
TypeScript
Star
36.9k
Fork
2.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Prerequisites

- [x] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer

- [x] I have searched other issues and found no duplicates

- [x] I want to request a feature or enhancement and not ask a question

### The problem

The docker version of Adguard Home always runs as root as can be seen in the Dockerfile, based on other discussions I have seen about running without root in Linux, I believe the same can be achieved with docker. Losing any kind of auto updating features seems not that important when running via docker as you can just pull the latest image.

### Proposed solution

Drop privileges for the container or at least provide the option to the user of running as specified UID and a GUID.

### Alternatives considered and additional information

_No response_

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.