Przeglądaj źródła

add support for annotations

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 1 rok temu
rodzic
commit
c5a760ce43
1 zmienionych plików z 1 dodań i 0 usunięć
  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),