Portainer

Simple installation with docker compose. More information to come...

version: '3'

services:
  portainer:
    image: portainer/portainer
    container_name: portainer
    ports:
      - "9000:9000"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    restart: always

New edition

docker-compose.yml
services:
  portainer:
    image: portainer/portainer-ce:2.21.5
    container_name: portainer
    restart: always
    ports:
      #- "8000:8000" # TCP tunnel server
      - "9443:9443" # The UI
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./portainer_data:/data

Comments