From 2c02852e01afa157351e6c73728bc5d65b205ba7 Mon Sep 17 00:00:00 2001 From: Peter Szilvasi Date: Thu, 5 Sep 2024 22:51:16 +0200 Subject: [PATCH] docs: add uninstallation steps to readme (#102) * Add uninstallation steps in the README.md file * Add `sudo` to the storage cleanup --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index b823f65..c402637 100644 --- a/README.md +++ b/README.md @@ -117,3 +117,21 @@ The default storage location depends on the user: ```sh make images test ``` + +## Binary uninstallation + +Before uninstalling the binaries, you may remove containers, pods, images, volumes, and so on to free up space: + +```sh +sudo podman system reset +``` + +Next, remove all the copied binaries from the following folders: + +```sh +sudo rm -rf /etc/containers/* +sudo rm -rf /usr/lib/systemd/system/podman* +sudo rm -rf /usr/lib/systemd/user/podman* +sudo rm -rf /usr/local/bin/{crun,fuse-overlayfs,fusermount3,pasta,pasta.avx2,podman,runc} +sudo rm -rf /usr/local/lib/podman +```