-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use --user and --userns in remote containers
Using them results in files being copied back to host to be owned by the guest user instead of the host user. e.g. $ podman create --name temp --user 1000:1000 --userns=keep-id -it \ quay.io/quarkus/ubi-quarkus-native-image:21.0.0-java11 $ podman cp temp:/opt/graalvm/bin/native-image remote-native-image $ ls -la remote-native-image -rwxr-xr-x. 1 100000 100000 14641161 Feb 14 03:28 remote-native-image* $ id -u 1000 (cherry picked from commit 5d4f39d)
- Loading branch information
1 parent
92186ba
commit 9951683
Showing
2 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters