mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
feat: add support for cap_add and cap_drop compose keys (#238)
This commit is contained in:
1 parent
1ea1d15845
commit
6c2f85d38a
8 files changed
+68
No files matched your search
@@ -605,6 +605,8 @@ func (s *Server) CreateServiceContainer(
|
||||
}
|
||||
}
|
||||
hostConfig := &container.HostConfig{
|
||||
CapAdd: spec.Container.CapAdd,
|
||||
CapDrop: spec.Container.CapDrop,
|
||||
Binds: spec.Container.Volumes,
|
||||
Init: spec.Container.Init,
|
||||
Mounts: mounts,
|
||||
|
||||
Reference in new issue
Block a user