-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
container: resolve workdir during initialization after all the mounts are completed. #11353
container: resolve workdir during initialization after all the mounts are completed. #11353
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@flouthoc, please update your "Signed-off-by" lines. The contributing guidelines require us to use our full name, no nickname.
582db60
to
20f3ced
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/hold
Can you add a test for this? |
20f3ced
to
a09d0a8
Compare
@Luap99 added a test: container run should fail if |
a09d0a8
to
52e7eec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can drop the [NO TESTS NEEDED]
from the commit message.
I'd suggest to shrink the first line in the commit message (e.g. by removing during initialization
) so it can fully fit.
52e7eec
to
a5bb17b
Compare
a5bb17b
to
3b9eaf9
Compare
There are use-cases where users would want to use overlay-mounts as workdir. For such cases workdir should be resolved after all the mounts are completed during the container init process. Signed-off-by: Aditya Rajan <[email protected]>
3b9eaf9
to
ec1f350
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: flouthoc, giuseppe The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
LGTM |
There are use-cases where users would want to use overlay-mounts as
workdir for containers. For such use-cases workdir should be resolved after all the mounts
are completed during the container init process.
Closes: #11352