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 +``` +