mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
feat: add shm_size support in Compose and --shm-size flag for 'uc run' (closes #267)
This commit is contained in:
@@ -21,6 +21,8 @@ type ContainerResources struct {
|
||||
Devices []DeviceMapping
|
||||
// DeviceReservations requests for access to things like GPUs.
|
||||
DeviceReservations []container.DeviceRequest
|
||||
// SharedMemory is the size of the shared memory (in bytes) mounted at /dev/shm in the container.
|
||||
SharedMemory int64
|
||||
// Ulimits defines the resource limits for the container.
|
||||
Ulimits map[string]Ulimit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user