[v23 regression] COPY --link
breaks file caps (Apparently fixed in the master branch)
#45128
Labels
area/builder/buildkit
Issues affecting buildkit
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
kind/regression
status/0-triage
version/23.0
Description
COPY --link --from=0 / /usr/bin/
breaks the file capability of/usr/bin/newuidmap
.A regression in v23.
Apparently fixed in the master branch.
(Just tested ad9d70b)
Reproduce
Expected behavior
v23 should show
/usr/bin/newuidmap cap_setuid=ep
docker version
Client: Docker Engine - Community Version: 23.0.1 API version: 1.42 Go version: go1.19.5 Git commit: a5ee5b1 Built: Thu Feb 9 19:47:01 2023 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 23.0.1 API version: 1.42 (minimum version 1.12) Go version: go1.19.5 Git commit: bc3805a Built: Thu Feb 9 19:47:01 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.18 GitCommit: 2456e983eb9e37e47538f59ea18f2043c9a73640 runc: Version: 1.1.4 GitCommit: v1.1.4-0-g5fd4c4d docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: