From d625aef0c54a5afbe2d2fbdd7c26f6b45d99c8f5 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Mon, 13 Apr 2020 14:18:07 -0500 Subject: podmanv2 mount and umount add the ability to mount and unmount containers for the local client only Signed-off-by: Brent Baude --- pkg/domain/infra/tunnel/containers.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pkg/domain/infra/tunnel') diff --git a/pkg/domain/infra/tunnel/containers.go b/pkg/domain/infra/tunnel/containers.go index 1a430e3d0..fb75a03d9 100644 --- a/pkg/domain/infra/tunnel/containers.go +++ b/pkg/domain/infra/tunnel/containers.go @@ -354,3 +354,11 @@ func (ic *ContainerEngine) ContainerInit(ctx context.Context, namesOrIds []strin } return reports, nil } + +func (ic *ContainerEngine) ContainerMount(ctx context.Context, nameOrIds []string, options entities.ContainerMountOptions) ([]*entities.ContainerMountReport, error) { + return nil, errors.New("mounting containers is not supported for remote clients") +} + +func (ic *ContainerEngine) ContainerUnmount(ctx context.Context, nameOrIds []string, options entities.ContainerUnmountOptions) ([]*entities.ContainerUnmountReport, error) { + return nil, errors.New("unmounting containers is not supported for remote clients") +} -- cgit v1.2.3-54-g00ecf