NAME 名称

podman-volume-unmount - Unmount a volume
podman-volume-unmount - 卸载一个卷

SYNOPSIS 概要

podman volume unmount volume […]
podman 卷 卸载 卷 [...]

podman volume umount volume […]
podman 卷 卸载 卷 [...]

DESCRIPTION 描述

Unmounts the specified volume, if there are no other containers using it.
卸载指定的卷,如果没有其他容器在使用它。

Volume storage increments a mount counter each time a volume is mounted. When a volume is unmounted, the mount counter is decremented, and the volume’s filesystem is physically unmounted only when the mount counter reaches zero indicating no other processes are using the mount.
每次挂载卷时,卷存储会增加一个挂载计数器。当卷被卸载时,挂载计数器会递减,并且只有当挂载计数器达到零时,表示没有其他进程在使用挂载时,卷的文件系统才会被物理卸载。

EXAMPLE 例子 ¶

Unmount volume with a given ID:
使用给定 ID 卸载卷:

podman volume unmount volumeID

Unmount multiple volumes with given IDs:
使用给定的 ID 卸载多个卷:

podman volume unmount volumeID1 volumeID2 volumeID3

SEE ALSO 参见 ¶

podman(1), podman-volume(1), podman-volume-mount(1)