An administrator is working with named volumes in Podman. Which four statements are correct? (Choose four.)
Choose 4 answers
Show the answer
Correct answersB. Data written to webdata remains available after the container that wrote it is removed.C. Running podman volume create webdata creates a named volume that Podman manages.D. Running podman run -v webdata:/var/www/html mounts the volume at that path inside the container.E. Running podman volume inspect webdata shows the mount point of the volume on the host.
AWhy not this: podman rm leaves named volumes in place; they are removed only with podman volume rm or prune.
BWhy this is right: A named volume exists independently of containers, so its data survives container removal.
CWhy this is right: Podman volume create makes a named volume that Podman manages.
DWhy this is right: -v webdata:/var/www/html mounts the named volume at that path in the container.
EWhy this is right: Podman volume inspect shows the volume's details, including its Mountpoint on the host.
FWhy not this: prune removes only volumes that no container uses; volumes in use are kept.
Named volumes are created, mapped with -v name:path, inspected for their host mount point, and persist independently of containers. Removing a container does not delete its named volumes; they go only through podman volume rm or podman volume prune, and prune removes only volumes no container uses.