diff options
author | Sascha Grunert <sgrunert@suse.com> | 2019-11-29 08:27:20 +0100 |
---|---|---|
committer | Sascha Grunert <sgrunert@suse.com> | 2019-11-29 08:59:38 +0100 |
commit | d264dc1c0ab9ceca17b6cf8bbe83989002cc826b (patch) | |
tree | 86f908408306a745f1f4f1c09df33b58957e10fa /cmd | |
parent | aa95726c98385fb75bc70b6de7a86c09ed74abd5 (diff) | |
download | podman-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')
-rw-r--r-- | cmd/podman/main_local.go | 2 |
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") } |