DEV Community

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

Posted on

4 3

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.

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more