Explorar o código

add support for annotations

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof hai 1 ano
pai
achega
c5a760ce43
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      pkg/compose/create.go

+ 1 - 0
pkg/compose/create.go

@@ -307,6 +307,7 @@ func (s *composeService) getCreateConfigs(ctx context.Context,
 
 	hostConfig := container.HostConfig{
 		AutoRemove:     opts.AutoRemove,
+		Annotations:    service.Annotations,
 		Binds:          binds,
 		Mounts:         mounts,
 		CapAdd:         strslice.StrSlice(service.CapAdd),