-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
add size to tmpfs mounts #2411
add size to tmpfs mounts #2411
Conversation
Don't forget to add a capability for this. We may also need to make sure we deduplicate the mounts in executor so it is not inefficient by mounting twice if you overwrite default mountpoint. Unless we confirm that containerd/runc already does it but I think not. |
82746f8
to
c6cae16
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.
Did you validate that in the runtime spec or in runc the mounts are deduplicated? If not then we should check it in the executor. Eg. we don't want /dev/shm
to be mounted twice per container.
They are not indeed. Will add a dedup impl in spec. |
317702b
to
f5f9a77
Compare
c628459
to
459449d
Compare
Signed-off-by: CrazyMax <[email protected]>
Signed-off-by: CrazyMax <[email protected]>
Follow-up docker/buildx#790
Related to #2384
Change the shm-size implementation to instead add size to tmpfs mounts.
Signed-off-by: CrazyMax [email protected]