本文共 1637 字,大约阅读时间需要 5 分钟。
? Ubuntu ????? Docker?
sudo curl -fsSL https://github.com/tech-shrimp/docker_installer/releases/download/latest/linux.sh | bash -s docker --mirror Aliyun
??? Gitee ?????
sudo curl -fsSL https://gitee.com/tech-shrimp/docker_installer/releases/download/latest/linux.sh | bash -s docker --mirror Aliyun
?? Docker ???
sudo systemctl start docker
?? Docker ??????
sudo nano /etc/docker/daemon.json
???????
{ "registry-mirrors": [ "https://do.nark.eu.org", "https://dc.j8.work", "https://docker.m.daocloud.io", "https://dockerproxy.com", "https://docker.mirrors.ustc.edu.cn", "https://docker.nju.edu.cn" ]} ?? Docker ???
sudo systemctl restart docker
?? OpenObserve ???
sudo docker run -d \ --name openobserve \ -v $PWD/data:/data \ -p 5080:5080 \ -e ZO_ROOT_USER_EMAIL="root@example.com" \ -e ZO_ROOT_USER_PASSWORD="Complexpass#123" \ public.ecr.aws/zinclabs/openobserve:latest
?? OpenObserve Web UI?
curl http://localhost:5080
?????root@example.com????Complexpass#123
?? Cpolar?
curl https://get.cpolar.sh | sudo sh
?? Cpolar ???
sudo systemctl status cpolar
Cpolar ????? HTTP 9200 ????? http://localhost:9200 ?????
Cpolar Web UI ????????
???????
# ???myoo1.china-vip.com
???????
curl http://localhost:5080/promql
???????
curl http://localhost:5080/session/replay
???????
curl http://localhost:5080/alerts
??????????? Docker ??????????? OpenObserve ??????????????
转载地址:http://zcpfk.baihongyu.com/