Skip to content

Commit c5a760c

Browse files
committed
add support for annotations
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 759d3bc commit c5a760c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/compose/create.go

+1
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ func (s *composeService) getCreateConfigs(ctx context.Context,
307307

308308
hostConfig := container.HostConfig{
309309
AutoRemove: opts.AutoRemove,
310+
Annotations: service.Annotations,
310311
Binds: binds,
311312
Mounts: mounts,
312313
CapAdd: strslice.StrSlice(service.CapAdd),

0 commit comments

Comments
 (0)