Skip to content

Commit

Permalink
docs: add uninstallation steps to readme (#102)
Browse files Browse the repository at this point in the history
* Add uninstallation steps in the README.md file
* Add `sudo` to the storage cleanup
  • Loading branch information
SzilvasiPeter authored Sep 5, 2024
1 parent ecee271 commit 2c02852
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 2c02852

Please sign in to comment.