Upgrade container¶
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 the following command (replace localhost with your PMM server’s address for remote access):
docker exec -it pmm-server \
curl -ku admin:admin https://localhost/v1/version
To upgrade the container:
-
Stop the container:
docker stop pmm-server
-
Perform a backup.
-
Pull the latest image:
docker pull percona/pmm-server:3
-
Rename the original container:
docker rename pmm-server pmm-server-old
-
Run it:
docker run \ --detach \ --restart always \ --publish 443:443 \ --volumes-from pmm-data \ --name pmm-server \ percona/pmm-server:3