1:基礎環境
1 Ubuntu_x86_64-23.10
2 Docker version 24.0.5, build 24.0.5-0ubuntu1
3 docker-compose version 1.29.2
2:更改主機名為uptime
hostnamectl set-hostname uptime
3:使主機名立即生效
bash
4:啟動docker
systemctl start docker
systemctl status docker
5:docker
部署uptime-kuma
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
|
└──外部埠(可自定義埠)
6:檢視uptime-kuma
程序
docker ps -a
7:檢視本機ip
ip a
8:瀏覽器進入
9:設定使用者名稱密碼
admin/uptime
10:進入主頁
11:食用方法