Skip to content

Install beszel using docker

About beszel

beszel is a simple, lightweight server monitoring solution.

Installation steps

SSH to your Linux docker host.

I use KiTTY to ssh to my Linux docker host.

Create a directory for beszel

mkdir beszel

Move to directory beszel

cd beszel

Create docker compose file and open it with nano

sudo nano docker-compose.yaml

Configure the docker compose file

Paste the following yaml code into nano:

services:
  beszel:
    image: henrygd/beszel
    container_name: beszel
    restart: unless-stopped
    ports:
      - 8090:8090
    volumes:
      - ./beszel_data:/beszel_data

Save the file in nano with CTRL+O
Hit Enter
Exit nano with CTRL+X

Build, create and start with docker compose

sudo docker compose up -d

The -d option makes the container run in the background.

When the beszel container is created and started, you can login on its webinterface.

beszel homepage

Go to the IP address of the Linux docker host with port number 8090.

My host has IP 192.168.1.30 so that translates to http://192.168.1.30:8090

beszel on raspberry pi not showing container statistics

I have beszel running on a raspberry pi, and noticed that it did not show the container statistics.
To fix this issue I used the following guide Resolving Missing Memory Stats in Docker Stats on Raspberry Pi

Open the file /boot/firmware/cmdline.txt with nano:

sudo nano /boot/firmware/cmdline.txt

add the following at the end of the line:

cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1  

Save the file in nano with CTRL+O
Hit Enter
Exit nano with CTRL+X

reboot the raspberry pi:

sudo reboot