Skip to content

Commit

Permalink
add support for annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
  • Loading branch information
ndeloof committed Mar 22, 2024
1 parent 759d3bc commit c5a760c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/compose/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit c5a760c

Please sign in to comment.