mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
feat: add shm_size support in Compose and --shm-size flag for 'uc run' (closes #267)
This commit is contained in:
@@ -642,6 +642,7 @@ func (s *Server) CreateServiceContainer(
|
||||
RestartPolicy: container.RestartPolicy{
|
||||
Name: container.RestartPolicyUnlessStopped,
|
||||
},
|
||||
ShmSize: spec.Container.Resources.SharedMemory,
|
||||
Sysctls: spec.Container.Sysctls,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user