summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorSascha Grunert <sgrunert@suse.com>2019-11-29 08:27:20 +0100
committerSascha Grunert <sgrunert@suse.com>2019-11-29 08:59:38 +0100
commitd264dc1c0ab9ceca17b6cf8bbe83989002cc826b (patch)
tree86f908408306a745f1f4f1c09df33b58957e10fa /cmd/podman
parentaa95726c98385fb75bc70b6de7a86c09ed74abd5 (diff)
downloadpodman-d264dc1c0ab9ceca17b6cf8bbe83989002cc826b.tar.gz
podman-d264dc1c0ab9ceca17b6cf8bbe83989002cc826b.tar.bz2
podman-d264dc1c0ab9ceca17b6cf8bbe83989002cc826b.zip
Do not initialize store on rootless podman
This fixes a double-locking issue of the container storage when running rootless podman. Closes #4591 Signed-off-by: Sascha Grunert <sgrunert@suse.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/main_local.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/main_local.go b/cmd/podman/main_local.go
index 968d7331a..bc46e4652 100644
--- a/cmd/podman/main_local.go
+++ b/cmd/podman/main_local.go
@@ -159,7 +159,7 @@ func setupRootless(cmd *cobra.Command, args []string) error {
Remote: remoteclient,
}
- runtime, err := libpodruntime.GetRuntime(getContext(), &podmanCmd)
+ runtime, err := libpodruntime.GetRuntimeNoStore(getContext(), &podmanCmd)
if err != nil {
return errors.Wrapf(err, "could not get runtime")
}