DEV Community

Cover image for Setup container monitoring and management on Raspberry Pi4 with Portainer
Ahsan Nabi Dar
Ahsan Nabi Dar

Posted on

Setup container monitoring and management on Raspberry Pi4 with Portainer

I have used Weave Scope previously to monitor and manage Ultronex. Its a great software and really powerful. Last year I bought a Raspberry Pi4 while the world came to a stand still and setup my Ad blocking VPN with DNS over HTTPS on a Raspberry Pi4 and recently setup a Smart Display real time dashboard but all of this was lacking one thing I got use to, convenient container monitoring and management from anywhere on the web. Weave Scope is not available for arm and it broke the deal for Raspberry Pi4. So after some searching came across Portainer an equally good software for monitoring and management of container with every feature you would need and its OSS. The setup is simple using docker-compose

version: "3.7"

services:
  portainer:
    image: portainer/portainer-ce:2.1.1-alpine
    container_name: portainer
    restart: always
    networks:
      network:
        ipv4_address: 10.0.2.4
        aliases:
          - portainer
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - portainer_data:/data
    ports:
      - "9000:9000"

networks:
  network:
    driver: bridge
    ipam:
     config:
       - subnet: 10.0.2.0/24

volumes:
  portainer_data: {}
Enter fullscreen mode Exit fullscreen mode

Portainer Dashboard

When you launch it the first time it will ask you to setup username and password as well.

Top comments (0)