From 874f2327e6ca963edda7cc46819d51048d3d19a8 Mon Sep 17 00:00:00 2001 From: Eduardo Vega Date: Tue, 5 Jan 2021 19:50:58 -0600 Subject: Add U volume flag to chown source volumes Signed-off-by: Eduardo Vega --- pkg/specgen/generate/container_create.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkg/specgen/generate') diff --git a/pkg/specgen/generate/container_create.go b/pkg/specgen/generate/container_create.go index 3b7112959..03697b353 100644 --- a/pkg/specgen/generate/container_create.go +++ b/pkg/specgen/generate/container_create.go @@ -247,8 +247,9 @@ func createContainerOptions(ctx context.Context, rt *libpod.Runtime, s *specgen. var vols []*libpod.ContainerOverlayVolume for _, v := range overlays { vols = append(vols, &libpod.ContainerOverlayVolume{ - Dest: v.Destination, - Source: v.Source, + Dest: v.Destination, + Source: v.Source, + Options: v.Options, }) } options = append(options, libpod.WithOverlayVolumes(vols)) -- cgit v1.2.3-54-g00ecf