Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bind mount simulation should change owner of files #172

Open
jbrekelmans opened this issue Jun 1, 2019 · 0 comments
Open

bind mount simulation should change owner of files #172

jbrekelmans opened this issue Jun 1, 2019 · 0 comments

Comments

@jbrekelmans
Copy link
Collaborator

jbrekelmans commented Jun 1, 2019

When creating the build context the owner of the file should be changed, to whatever it needs to be. There are several issues that may arise here:

  1. We do not know what the user wil be (except if --run-as-user is set), in case the K8S has custom POD security policies. How does k8s decide volume permissions??
  2. If the volume is te be mounted into two containers c1 and c2 running with uids uid1 and uid2, respectively, what owner should we set? How does docker handle this?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant