Skip to content

Remove container

Summary
  • Stop the container.
  • Remove the container.
  • Remove the data volume.
  • Remove the image.

Caution

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

To remove the container:

  1. Stop pmm-server container.

    docker stop pmm-server
    
  2. Remove the container.

    docker rm pmm-server
    
  3. Remove the data volume.

    docker volume rm pmm-data
    
  4. Remove the image.

    docker rmi $(docker images | grep "percona/pmm-server" | awk '{print $3}')
    

Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.