Skip to content
Home » How to update portainer

How to update portainer

Let’s start the discussion about How to update portainer in following methods.

The technique is really straightforward if you have OpenMediaVault installed. Simply log in to OMV, navigate to OMV-Extras, and then click the Docker tab. On that page, select Portainer from the dropdown menu and then click Install. Even if you already have Portainer installed, this will update your container.

In order to update run the below steps one by one.

If you already have Portainer installed, you must stop and uninstall it before upgrading the container. Use the below commands to do that.

docker stop portainer
docker rm portainer

Then run :

docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always --pull=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

I hope the strategies listed above work for you. Happy coding and come back again.

Similar Post : How to remove apache2 from ubuntu