Explorar el Código

add support for annotations

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof hace 1 año
padre
commit
c5a760ce43
Se han modificado 1 ficheros con 1 adiciones y 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),