Skip to content

Commit 474740f

Browse files
Merge pull request #26427 from b3n4kh/issue-26349-force-flag-docs
Issue 26349 force flag docs
2 parents f235d47 + 6b99644 commit 474740f

File tree

6 files changed

+39
-0
lines changed

6 files changed

+39
-0
lines changed

docs/source/markdown/podman-image-unmount.1.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,11 @@ Unmount all images:
4646
```
4747
podman image unmount --all
4848
```
49+
50+
Force unmount image with a given ID:
51+
```
52+
podman image unmount --force imageID
53+
```
54+
4955
## SEE ALSO
5056
**[podman(1)](podman.1.md)**, **[podman-image-mount(1)](podman-image-mount.1.md)**, **[podman-mount(1)](podman-mount.1.md)**

docs/source/markdown/podman-machine-reset.1.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ Are you sure you want to continue? [y/N] y
4040
$
4141
```
4242

43+
Force reset without confirmation.
44+
```
45+
$ podman machine reset --force
46+
$
47+
```
48+
4349
## SEE ALSO
4450
**[podman(1)](podman.1.md)**, **[podman-machine(1)](podman-machine.1.md)**
4551

docs/source/markdown/podman-pod-prune.1.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,24 @@ Force removal of all running pods and their containers. The default is false.
1919
Remove all stopped pods and their containers from local storage.
2020
```
2121
$ sudo podman pod prune
22+
WARNING! This will remove all stopped/exited pods..
23+
Are you sure you want to continue? [y/N] y
2224
22b8813332948064b6566370088c5e0230eeaf15a58b1c5646859fd9fc364fe7
2325
2afb26869fe5beab979c234afb75c7506063cd4655b1a73557c9d583ff1aebe9
2426
49161ad2a722cf18722f0e17199a9e840703a17d1158cdeda502b6d54080f674
2527
5ca429f37fb83a9f54eea89e3a9102b7780a6e6ae5f132db0672da551d862c4a
2628
6bb06573787efb8b0675bc88ebf8361f1a56d3ac7922d1a6436d8f59ffd955f1
2729
```
2830

31+
Force removal of all running pods and their containers.
32+
```
33+
$ sudo podman pod prune --force
34+
22b8813332948064b6566370088c5e0230eeaf15a58b1c5646859fd9fc364fe7
35+
2afb26869fe5beab979c234afb75c7506063cd4655b1a73557c9d583ff1aebe9
36+
49161ad2a722cf18722f0e17199a9e840703a17d1158cdeda502b6d54080f674
37+
5ca429f37fb83a9f54eea89e3a9102b7780a6e6ae5f132db0672da551d862c4a
38+
```
39+
2940
## SEE ALSO
3041
**[podman(1)](podman.1.md)**, **[podman-pod(1)](podman-pod.1.md)**
3142

docs/source/markdown/podman-system-prune.1.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ Deleted Images
120120
Total reclaimed space: 1.4GB
121121
```
122122

123+
With `--force` flag
124+
```
125+
$ podman system prune --force
126+
Total reclaimed space: 0B
127+
```
128+
123129
## SEE ALSO
124130
**[podman(1)](podman.1.md)**, **[podman-system(1)](podman-system.1.md)**
125131

docs/source/markdown/podman-system-reset.1.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ WARNING! This will remove:
4848
Are you sure you want to continue? [y/N] y
4949
```
5050

51+
Force reset all storage back to a clean initialized state.
52+
```
53+
$ podman system reset --force
54+
```
55+
5156
### Switching rootless user from VFS driver to overlay with fuse-overlayfs
5257

5358
If the user ran rootless containers without having the `fuse-overlayfs` program

docs/source/markdown/podman-unmount.1.md.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,10 @@ Unmount all containers:
5757
podman unmount --all
5858
```
5959

60+
Force umount container with given ID:
61+
```
62+
podman umount --force containerID
63+
```
64+
6065
## SEE ALSO
6166
**[podman(1)](podman.1.md)**, **[podman-mount(1)](podman-mount.1.md)**, **[podman-image-mount(1)](podman-image-mount.1.md)**

0 commit comments

Comments
 (0)