Skip to content

Commit

Permalink
Do not initialize store on rootless podman
Browse files Browse the repository at this point in the history
This fixes a double-locking issue of the container storage when running
rootless podman.

Closes #4591

Signed-off-by: Sascha Grunert <[email protected]>
  • Loading branch information
saschagrunert committed Nov 29, 2019
1 parent aa95726 commit d264dc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/podman/main_local.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit d264dc1

Please sign in to comment.