add support for annotations

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2024-03-21 13:52:11 +01:00 committed by Nicolas De loof
parent 759d3bc9f9
commit c5a760ce43
1 changed files with 1 additions and 0 deletions

View File

@ -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),