Install Portainer

  1. Install docker & docker compose

  2. Create a compose file with

version: '3.3'
services:
    portainer-ee:
        ports:
            - '8000:8000'
            - '9000:9000'
            - '9443:9443'
        container_name: portainer
        restart: always
        volumes:
            - '/var/run/docker.sock:/var/run/docker.sock'
            - 'portainer_data:/data'
        image: 'portainer/portainer-ee:latest'
        logging:
          driver: "json-file"
          options:
            max-size: 10m
            max-file: "5"
volumes:
  portainer_data:
  1. docker compose up -d

Last updated