You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add support for exact list of capabilities, support only OCI model
- Support OCI model on CapAdd and CapDrop but remain backward compatibility
- Create variable locally instead of declaring it at the top
- Use const for magic "ALL" value
- Rename `cap` variable as it overlaps with `cap()` built-in
- Normalize and validate capabilities before use
- Move validation for conflicting options to validateHostConfig()
- TweakCapabilities: simplify logic to calculate capabilities
Signed-off-by: Olli Janatuinen <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
*`GET /service/{id}` now returns `MaxReplicas` as part of the `Placement`.
38
38
*`POST /service/create` and `POST /services/(id or name)/update` now take the field `MaxReplicas`
39
39
as part of the service `Placement`, allowing to specify maximum replicas per node for the service.
40
+
*`GET /containers` now returns `Capabilities` field as part of the `HostConfig`.
41
+
*`GET /containers/{id}` now returns `Capabilities` field as part of the `HostConfig`.
42
+
*`POST /containers/create` now takes `Capabilities` field to set exact list kernel capabilities to be available for container (this overrides the default set).
0 commit comments