RHEL8.1: How to change named volume (volume_path) from podman?

Solution Verified - Updated -

Issue

After updating volume_path at /usr/share/containers/libpod.conf, podman shows error

# podman volume ls
Error: error creating libpod runtime: database volume path "/var/lib/containers/storage/volumes" does not match our volume path "/test": database configuration mismatch

Environment

  • Red Hat Enterprise Linux 8.1
  • podman 1.6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content