From d7e916767840ac7c8efa15c43b26fd49a574b18b Mon Sep 17 00:00:00 2001 From: n0tja_actual Date: Thu, 30 Apr 2026 06:27:38 -0500 Subject: [PATCH] Update docker/install-portioner.md --- docker/install-portioner.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/docker/install-portioner.md b/docker/install-portioner.md index 6eef7f4..1c0262c 100644 --- a/docker/install-portioner.md +++ b/docker/install-portioner.md @@ -29,4 +29,30 @@ Looking at the docker run command, we can see that ports 8000 and 9443 have been https://localhost:9443 ``` -Replace localhost with the IP Address or FQDN if needed. \ No newline at end of file +Replace localhost with the IP Address or FQDN if needed. + + +## Upgrading Portainer + +Documentation Resource: https://docs.portainer.io/start/upgrade/docker + +``` +docker stop portainer +``` + +``` +docker rm portainer +``` + +``` +docker pull portainer/portainer-ce:lts +``` + +``` +docker run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:lts +``` + +``` +docker system prune -a --volumes +``` +