Skip to content

For help, click the link below to get free database assistance or contact our experts for personalized support.

Remove PMM Server Podman container

Remove the PMM Server Podman container, images, and data when you no longer need this installation or want to perform a complete reinstallation.

Caution

These steps delete the PMM Server Docker image and the associated PMM metrics data.

To completely remove your container and data:

  1. Stop the PMM Server service:

    systemctl --user stop pmm-server
    
  2. If you’re using Watchtower for UI upgrades, stop it too:

    systemctl --user stop watchtower
    
  3. Remove the PMM data volume:

    podman volume rm --force pmm-server
    
  4. Remove the PMM Server images:

    podman rmi $(podman images | grep "pmm-server" | awk {'print $3'})
    
  5. Disable the SystemD services:

    systemctl --user disable pmm-server
    systemctl --user disable watchtower
    

  6. Optionally, remove service files:

    rm -f %h/.config/systemd/user/pmm-server.service
    rm -f %h/.config/systemd/user/pmm-server.env
    rm -f %h/.config/systemd/user/watchtower.service
    rm -f %h/.config/systemd/user/watchtower.env
    

  7. If you no longer need it, remove the PMM network:

    podman network rm pmm_default