What is the problem you're trying to solve
The default size of /dev/shm is hardcoded which is annoying when you have a lot of similar containers that need more than 64MB, -> you will have to modify volume specs for each container you run.
Hardcoded here:
|
Options: []string{"nosuid", "noexec", "nodev", "mode=1777", "size=65536k"}, |
Describe the solution you'd like
It would be great for this value to be configurable like it is in dockerd. (default-shm-size) or eventually forwarding the dockerd value.
Additional context
Moreover, It may also be great to be able to modify the size (not the default one) for kubernetes usage, cf: kubernetes/kubernetes#28272
What is the problem you're trying to solve
The default size of
/dev/shmis hardcoded which is annoying when you have a lot of similar containers that need more than 64MB, -> you will have to modify volume specs for each container you run.Hardcoded here:
containerd/oci/spec.go
Line 187 in c6da899
Describe the solution you'd like
It would be great for this value to be configurable like it is in
dockerd. (default-shm-size) or eventually forwarding thedockerdvalue.Additional context
Moreover, It may also be great to be able to modify the size (not the default one) for kubernetes usage, cf: kubernetes/kubernetes#28272