docker安装

curl -sSL https://get.daocloud.io/docker | sh

docker-compose安装

curl -L https://get.daocloud.io/docker/compose/releases/download/v2.1.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

卸载docker

sudo apt-get remove docker docker-engine
rm -fr /var/lib/docker/

docker-compose.yml内容

docker-compose up -d

version: '3.3'

services:
  uptime-kuma:
    image: louislam/uptime-kuma
    container_name: uptime-kuma
    volumes:
      - ./uptime-kuma:/app/data
    ports:
      - 3001:3001

展示

https://up.hjhai.cn/status
up.png

最后修改:2022 年 02 月 08 日
如果觉得我的文章对你有用,请随意赞赏