Install Portainer
Install docker & docker compose
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:
docker compose up -d
Last updated
Was this helpful?