Portainer can be deployed on top of any K8s, Docker or Swarm environment. It works seamlessly in the cloud, on prem and at the edge to give you a consolidated view of all your containers.
First, create the volume that Portainer Server will use to store its database:
Then run this to download and use the portainer image
delete the container, and rerun the last command with a new version in order to upgrade..