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: {}

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

Originally published at https://dev.to on February 28, 2021.

--

--

--

Coder during the day, squash player in the evening and cricketer over the weekends. Doubts are the ants in the pants, that keep faith moving

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

C#/VB.NET: Change Page Margins of Existing PDF Documents

How To Handle Files With Python Like a Pro

Enterprise Application Development: Perks Of Python You Need to Know | Web Development 2020

Drill down your infrastructure with Benchdrill

How to Switch Between Applications and/or Programs Quickly on Windows 10

Space Shooter Refactoring: Audio Manager

The Science behind Music: Coding edition

How to keep your bot alive without Discord.py

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
DAR

DAR

Coder during the day, squash player in the evening and cricketer over the weekends. Doubts are the ants in the pants, that keep faith moving

More from Medium

Continuous Integration (CI)

How to Deploy a Discord Bot on Kubernetes

Juggling with Docker manifests like an artist

Docker/Container Introduction