Skip to content

Upgrade PMM Server using Docker

Summary
  • Stop the running container.
  • Backup (rename) the container and copy data.
  • Pull the latest Docker image.
  • Run it.

Important

Downgrades are not possible. To go back to using a previous version you must have created a backup of it before upgrading.

Tip

To see what release you are running, use the PMM Upgrade panel on the Home Dashboard, or run:

docker exec -it pmm-server \
curl -ku admin:admin https://localhost/v1/version

(If you are accessing the docker host remotely, replace localhost with the IP or server name of the host.)

To upgrade PMM Server using Docker:

  1. Stop the container.

    docker stop pmm-server
    
  2. Perform a backup.

  3. Pull the latest image.

    docker pull percona/pmm-server:2
    
  4. Rename the original container

    docker rename pmm-server pmm-server-old
    
  5. Run it.

    docker run \
    --detach \
    --restart always \
    --publish 443:443 \
    --volumes-from pmm-data \
    --name pmm-server \
    percona/pmm-server:2
    

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.