docs(tutorials): add complete uninstall and cleanup guide - #29554
Prathamesh09-coder wants to merge 1 commit into
Conversation
Honny1
left a comment
There was a problem hiding this comment.
Intent feels good, but there are several problems. Removing manualy bineries feel odd. Also, please check https://podman-desktop.io/docs/uninstall (maybe these are also incorrect)
|
|
||
| ### macOS | ||
|
|
||
| #### Homebrew |
There was a problem hiding this comment.
We are not supporting Homebrew.
| #### Fedora / RHEL / CentOS / Rocky / AlmaLinux | ||
| ```bash | ||
| sudo dnf remove -y podman podman-docker podman-remote podman-plugins | ||
| ``` | ||
|
|
||
| #### Debian / Ubuntu | ||
| ```bash | ||
| sudo apt-get purge -y podman podman-docker | ||
| sudo apt-get autoremove -y | ||
| ``` | ||
|
|
||
| #### Arch Linux | ||
| ```bash | ||
| sudo pacman -Rns podman podman-docker | ||
| ``` | ||
|
|
||
| #### openSUSE | ||
| ```bash | ||
| sudo zypper remove podman podman-docker | ||
| ``` | ||
|
|
There was a problem hiding this comment.
I would mention only supported distributions.
There was a problem hiding this comment.
@Honny1 do we have a list of supported distributions?
There was a problem hiding this comment.
There was a problem hiding this comment.
Thanks, wondering if it'll be a good idea add SUSE* there as well considering we do have nightly podman tests running on it and I officially maintain the downstream package there.
There was a problem hiding this comment.
Just to add here we are (supposedly) a vendor neutral upstream. I don't think saying we only support fedora/debian makes sense in that sense. We only test with them sure, but it is not like I will close a bug because the user is on arch or openSUSE unless that is a packaging issue.
So if someone likes to add a few more install/uninstall commands for several distros then I have nothing against that in principle. That said I am not sure if we as upstream have to documented how to install/uninstall packages for each distro. Distros users should be already aware on how to do it.
We just need to document the commands, like system reset, and other data storage locations that need to be removed manually.
|
|
||
| ### Windows | ||
|
|
||
| #### Windows Package Manager (winget) |
There was a problem hiding this comment.
I am not aware if we support winget.
| ``` | ||
|
|
||
| #### PKG Installer | ||
| If you installed Podman via the `.pkg` installer from the official release page: |
There was a problem hiding this comment.
Should the installer be capable of uninstalling? Removing files feels odd.
|
Thanks @Honny1 for the detailed review. I agree that manually removing installed binaries is not the right approach. I'll revise the guide to document only supported installation methods, remove the manual binary deletion steps, and align the platform-specific uninstall instructions with the existing Podman/Podman Desktop documentation. |
|
Thanks for the review. I've revised the tutorial to address the concerns: Removed manual binary/file deletion instructions. I also reviewed the remaining cleanup instructions to avoid undocumented manual system-file removal. |
Add tutorial detailing full Podman reset, package uninstallation, and residual configuration/storage directory cleanup across Linux, macOS, and Windows. Fixes podman-container-tools#18034 Signed-off-by: Prathamesh Nawale <prathameshnawale19@gmail.com>
e94e8f9 to
77365be
Compare
|
|
||
| --- | ||
|
|
||
| ## Resetting Podman State |
There was a problem hiding this comment.
I am also missing the removal of connections (podman system connection).
|
|
||
| ### macOS | ||
|
|
||
| If you installed Podman using the official `.pkg` installer or Podman Desktop, use the uninstaller provided by the application package or move the application to the Trash. |
There was a problem hiding this comment.
Well, this is not true. Maybe it would be worth updating the installer to ship the uninstaller also. (Not sure how complex this idea is.)
|
|
||
| --- | ||
|
|
||
| ## Optional Cleanup |
There was a problem hiding this comment.
Personally, I think this is wrong. These paths can be used with other tools, so you can easily break other container tools.
|
Thanks! I'll check SUPPORT.md and align the documented package-manager options with the distributions officially supported by Podman. I'll also make sure the uninstall commands match the supported installation methods. |
|
Thanks for the clarification. I'll remove the distro-specific package-manager uninstall commands and keep the tutorial focused on Podman-specific state reset and the data/configuration locations that may need manual cleanup. |
|
@Prathamesh09-coder Any updates on this? |
|
Thanks for the follow-up. I’m working through the remaining review comments now. I’ll update the guide to cover Podman system connections, correct the macOS uninstall guidance, and revise the cleanup section to avoid removing shared container-tool data. I’ll push the updated changes once these are addressed. |
What does this PR do?
Adds a comprehensive tutorial guide (
docs/tutorials/uninstall.md) explaining how to completely reset, purge, and uninstall Podman, its virtual machines, container storage, networks, and configuration files across Linux, macOS, and Windows. Also updatesdocs/tutorials/README.mdto link the new guide.Why?
Users seeking a clean re-installation, version downgrade/upgrade, or complete software removal previously lacked documented commands and paths for residual files and directories.
Fixes #18034
Testing
Verified rendered markdown formatting, code block syntax, and internal documentation links.