1podman-unmount(1)() podman-unmount(1)()
2
3
4
6 podman-unmount - Unmount a working container's root filesystem
7
8
10 podman unmount [options] container [...]
11
12
13 podman umount [options] container [...]
14
15
16 podman container unmount [options] container [...]
17
18
19 podman container umount [options] container [...]
20
21
23 Unmounts the specified containers' root file system, if no other pro‐
24 cesses are using it.
25
26
27 Container storage increments a mount counter each time a container is
28 mounted. When a container is unmounted, the mount counter is decre‐
29 mented, and the container's root filesystem is physically unmounted
30 only when the mount counter reaches zero indicating no other processes
31 are using the mount. An unmount can be forced with the --force flag.
32
33
34 Note: Podman can be used to unmount Podman containers as well as exter‐
35 nal containers. External containers are containers created in con‐
36 tainer/storage by other tools like Buildah and CRI-O.
37
38
40 --all, -a
41 All of the currently mounted containers will be unmounted.
42
43
44 --force, -f
45 Force the unmounting of specified containers' root file system, even if
46 other processes have mounted it.
47
48
49 Note: This could cause other processes that are using the file system
50 to fail, as the mount point could be removed without their knowledge.
51
52
53 --latest, -l
54 Instead of providing the container name or ID, use the last created
55 container. If you use methods other than Podman to run containers such
56 as CRI-O, the last started container could be from either of those
57 methods.
58
59
60 The latest option is not supported on the remote client.
61
62
64 podman container unmount containerID
65
66
67 podman unmount containerID1 containerID2 containerID3
68
69
70 podman unmount --all
71
72
74 podman(1), podman-container-mount(1), podman-image-mount(1)
75
76
77
78 podman-unmount(1)()