mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
feat: add support for sysctls compose key (#239)
* feat: add support for `sysctls` compose key * lint --------- Co-authored-by: Pasha Sviderski <me@psviderski.name>
This commit is contained in:
co-authored by
Pasha Sviderski
parent
7e739dd2f0
commit
06c3fba96e
@@ -623,6 +623,7 @@ func (s *Server) CreateServiceContainer(
|
||||
RestartPolicy: container.RestartPolicy{
|
||||
Name: container.RestartPolicyUnlessStopped,
|
||||
},
|
||||
Sysctls: spec.Container.Sysctls,
|
||||
}
|
||||
|
||||
// Configure the container to use the internal DNS server if it's available.
|
||||
|
||||
Reference in New Issue
Block a user