Merge pull request #26427 from b3n4kh/issue-26349-force-flag-docs

Issue 26349 force flag docs
This commit is contained in:
openshift-merge-bot[bot]
2025-06-17 11:13:13 +00:00
committed by GitHub
6 changed files with 39 additions and 0 deletions

View File

@ -46,5 +46,11 @@ Unmount all images:
``` ```
podman image unmount --all podman image unmount --all
``` ```
Force unmount image with a given ID:
```
podman image unmount --force imageID
```
## SEE ALSO ## SEE ALSO
**[podman(1)](podman.1.md)**, **[podman-image-mount(1)](podman-image-mount.1.md)**, **[podman-mount(1)](podman-mount.1.md)** **[podman(1)](podman.1.md)**, **[podman-image-mount(1)](podman-image-mount.1.md)**, **[podman-mount(1)](podman-mount.1.md)**

View File

@ -40,6 +40,12 @@ Are you sure you want to continue? [y/N] y
$ $
``` ```
Force reset without confirmation.
```
$ podman machine reset --force
$
```
## SEE ALSO ## SEE ALSO
**[podman(1)](podman.1.md)**, **[podman-machine(1)](podman-machine.1.md)** **[podman(1)](podman.1.md)**, **[podman-machine(1)](podman-machine.1.md)**

View File

@ -19,6 +19,8 @@ Force removal of all running pods and their containers. The default is false.
Remove all stopped pods and their containers from local storage. Remove all stopped pods and their containers from local storage.
``` ```
$ sudo podman pod prune $ sudo podman pod prune
WARNING! This will remove all stopped/exited pods..
Are you sure you want to continue? [y/N] y
22b8813332948064b6566370088c5e0230eeaf15a58b1c5646859fd9fc364fe7 22b8813332948064b6566370088c5e0230eeaf15a58b1c5646859fd9fc364fe7
2afb26869fe5beab979c234afb75c7506063cd4655b1a73557c9d583ff1aebe9 2afb26869fe5beab979c234afb75c7506063cd4655b1a73557c9d583ff1aebe9
49161ad2a722cf18722f0e17199a9e840703a17d1158cdeda502b6d54080f674 49161ad2a722cf18722f0e17199a9e840703a17d1158cdeda502b6d54080f674
@ -26,6 +28,15 @@ $ sudo podman pod prune
6bb06573787efb8b0675bc88ebf8361f1a56d3ac7922d1a6436d8f59ffd955f1 6bb06573787efb8b0675bc88ebf8361f1a56d3ac7922d1a6436d8f59ffd955f1
``` ```
Force removal of all running pods and their containers.
```
$ sudo podman pod prune --force
22b8813332948064b6566370088c5e0230eeaf15a58b1c5646859fd9fc364fe7
2afb26869fe5beab979c234afb75c7506063cd4655b1a73557c9d583ff1aebe9
49161ad2a722cf18722f0e17199a9e840703a17d1158cdeda502b6d54080f674
5ca429f37fb83a9f54eea89e3a9102b7780a6e6ae5f132db0672da551d862c4a
```
## SEE ALSO ## SEE ALSO
**[podman(1)](podman.1.md)**, **[podman-pod(1)](podman-pod.1.md)** **[podman(1)](podman.1.md)**, **[podman-pod(1)](podman-pod.1.md)**

View File

@ -120,6 +120,12 @@ Deleted Images
Total reclaimed space: 1.4GB Total reclaimed space: 1.4GB
``` ```
With `--force` flag
```
$ podman system prune --force
Total reclaimed space: 0B
```
## SEE ALSO ## SEE ALSO
**[podman(1)](podman.1.md)**, **[podman-system(1)](podman-system.1.md)** **[podman(1)](podman.1.md)**, **[podman-system(1)](podman-system.1.md)**

View File

@ -48,6 +48,11 @@ WARNING! This will remove:
Are you sure you want to continue? [y/N] y Are you sure you want to continue? [y/N] y
``` ```
Force reset all storage back to a clean initialized state.
```
$ podman system reset --force
```
### Switching rootless user from VFS driver to overlay with fuse-overlayfs ### Switching rootless user from VFS driver to overlay with fuse-overlayfs
If the user ran rootless containers without having the `fuse-overlayfs` program If the user ran rootless containers without having the `fuse-overlayfs` program

View File

@ -57,5 +57,10 @@ Unmount all containers:
podman unmount --all podman unmount --all
``` ```
Force umount container with given ID:
```
podman umount --force containerID
```
## SEE ALSO ## SEE ALSO
**[podman(1)](podman.1.md)**, **[podman-mount(1)](podman-mount.1.md)**, **[podman-image-mount(1)](podman-image-mount.1.md)** **[podman(1)](podman.1.md)**, **[podman-mount(1)](podman-mount.1.md)**, **[podman-image-mount(1)](podman-image-mount.1.md)**