From ff4c7a068add2b0a910d2e7f3d442a5c93586e98 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 28 Aug 2018 08:38:00 +0200 Subject: rootless, stop: do not create a new userns Signed-off-by: Giuseppe Scrivano Closes: #1360 Approved by: vrothberg --- cmd/podman/stop.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/podman/stop.go') diff --git a/cmd/podman/stop.go b/cmd/podman/stop.go index d1fae56dd..c8f03a748 100644 --- a/cmd/podman/stop.go +++ b/cmd/podman/stop.go @@ -6,6 +6,7 @@ import ( "github.com/containers/libpod/cmd/podman/libpodruntime" "github.com/containers/libpod/libpod" + "github.com/containers/libpod/pkg/rootless" "github.com/pkg/errors" "github.com/urfave/cli" ) @@ -55,6 +56,7 @@ func stopCmd(c *cli.Context) error { return err } + rootless.SetSkipStorageSetup(true) runtime, err := libpodruntime.GetRuntime(c) if err != nil { return errors.Wrapf(err, "could not get runtime") -- cgit v1.2.3-54-g00ecf