Skip to content

Portainer standalone

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.

setup

First, create the volume that Portainer Server will use to store its database:

docker volume create portainer_data

install

Then run this to download and use the portainer image

docker run -d \
    -p 10.10.10.10:8000:8000 \
    -p 10.10.10.10:9443:9443 \
    --name portainer \
    --restart=always \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v portainer_data:/data \
    portainer/portainer-ce:2.11.1

upgrade

delete the container, and rerun the last command with a new version in order to upgrade..

reference

docs.portainer.io

Back to top