網(wǎng)站首頁(yè) 編程語(yǔ)言 正文
一、Dashdot介紹
Dashdot是一款簡(jiǎn)單、實(shí)用的開(kāi)源服務(wù)器儀表盤(pán),設(shè)計(jì)時(shí)考慮到了玻璃形態(tài)。它旨在用于較小的 VPS 和私人服務(wù)器。
二、檢查本地系統(tǒng)環(huán)境
1.檢查本地系統(tǒng)版本
[root@jeven ~]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
2.檢查docker狀態(tài)
[root@jeven ~]# systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2022-12-02 04:34:05 CST; 5 days ago
Docs: https://docs.docker.com
Main PID: 10004 (dockerd)
Tasks: 111
Memory: 2.4G
CGroup: /system.slice/docker.service
├─ 10004 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
├─117192 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 453 -container-ip 192.168.240.2 -container-port 443
├─117198 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 453 -container-ip 192.168.240.2 -container-port 443
├─117211 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8161 -container-ip 192.168.240.2 -container-port 81
├─117217 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 8161 -container-ip 192.168.240.2 -container-port 81
├─117229 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8061 -container-ip 192.168.240.2 -container-port 80
├─117235 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 8061 -container-ip 192.168.240.2 -container-port 80
├─122772 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 443 -container-ip 172.24.0.2 -container-port 443
├─122778 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 443 -container-ip 172.24.0.2 -container-port 443
├─122792 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8023 -container-ip 172.24.0.2 -container-port 80
├─122797 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 8023 -container-ip 172.24.0.2 -container-port 80
├─125465 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8133 -container-ip 192.168.16.2 -container-port 80
├─125470 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 8133 -container-ip 192.168.16.2 -container-port 80
├─126264 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8276 -container-ip 172.17.0.2 -container-port 80
└─126270 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 8276 -container-ip 172.17.0.2 -container-port 80
Dec 05 17:50:14 jeven dockerd[10004]: time="2022-12-05T17:50:14.411707453+08:00" level=info msg="ignoring event" container=9f858d6ae4bce94...skDelete"
Dec 06 15:39:57 jeven dockerd[10004]: time="2022-12-06T15:39:57.607625402+08:00" level=info msg="Attempting next endpoint for pull after e... unknown"
Dec 06 15:53:59 jeven dockerd[10004]: time="2022-12-06T15:53:59.440205486+08:00" level=info msg="Pull session cancelled"
Dec 06 15:54:02 jeven dockerd[10004]: time="2022-12-06T15:54:02.463174590+08:00" level=error msg="Not continuing with pull after error: er...canceled"
Dec 06 18:41:13 jeven dockerd[10004]: time="2022-12-06T18:41:13.463135348+08:00" level=info msg="Container failed to exit within 10s of si...8d35a3c1d
Dec 06 18:41:13 jeven dockerd[10004]: time="2022-12-06T18:41:13.499299621+08:00" level=info msg="ignoring event" container=0e693c666696382...skDelete"
Dec 06 18:48:15 jeven dockerd[10004]: time="2022-12-06T18:48:15.988272884+08:00" level=info msg="Container failed to exit within 10s of si...e324c7fb7
Dec 06 18:48:16 jeven dockerd[10004]: time="2022-12-06T18:48:16.029722959+08:00" level=info msg="ignoring event" container=e152fa592dbe87d...skDelete"
Dec 06 18:49:26 jeven dockerd[10004]: time="2022-12-06T18:49:26.892043256+08:00" level=error msg="stream copy error: reading from a closed fifo"
Dec 06 18:49:26 jeven dockerd[10004]: time="2022-12-06T18:49:26.893852422+08:00" level=error msg="Error running exec 9caf2e1e743d3da03528224930f13d...
Hint: Some lines were ellipsized, use -l to show in full.
3.檢查docker版本
[root@jeven ~]# docker -v
Docker version 20.10.17, build 100c701
三、下載Dashdot鏡像
[root@jeven ~]# docker pull mauricenino/dashdot
Using default tag: latest
latest: Pulling from mauricenino/dashdot
ca7dd9ec2225: Already exists
55371e6747e8: Pull complete
694d6b1b2d1b: Pull complete
71f41f5ff77d: Pull complete
56add475b8c9: Pull complete
7f551cac3db0: Pull complete
4ea3fda37984: Pull complete
19874c2ef6e2: Pull complete
1316aaf09012: Pull complete
8b02555e979e: Pull complete
036180ba4f7a: Pull complete
5356538ccba5: Pull complete
Digest: sha256:e4eb744ee0edf04ac1425596672025411cdab755604e82f97cca5b939bdf0c2b
Status: Downloaded newer image for mauricenino/dashdot:latest
docker.io/mauricenino/dashdot:latest
四、部署Dashdot應(yīng)用
1.創(chuàng)建安裝目錄
mkdir -p /data/dashdot
2.創(chuàng)建Dashdot容器
docker run -d \
-p 8987:3001 \
-v /etc/os-release:/etc/os-release:ro \
-v /proc/1/ns/net:/mnt/host_ns_net:ro \
--privileged \
mauricenino/dashdot
3.查看Dashdot容器狀態(tài)
[root@jeven dashdot]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
71e9dedb50f2 mauricenino/dashdot "docker-entrypoint.s…" 4 seconds ago Up 2 seconds 0.0.0.0:8987->3001/tcp, :::8987->3001/tcp lucid_williams
五、訪問(wèn)Dashdot
原文鏈接:https://blog.csdn.net/jks212454/article/details/128382463
相關(guān)推薦
- 2022-11-05 Nginx配置文件nginx.conf的基本配置實(shí)例詳解_nginx
- 2023-11-21 高階函數(shù)HoF:用filter()方法編寫(xiě)一個(gè)素?cái)?shù)生成函數(shù)primes()
- 2022-09-29 C++模板的特化超詳細(xì)精講_C 語(yǔ)言
- 2023-04-29 C++數(shù)組模擬之單鏈表與雙鏈表和棧和隊(duì)列的實(shí)現(xiàn)過(guò)程_C 語(yǔ)言
- 2022-09-21 python裝飾器底層原理詳解_python
- 2022-05-13 c++中文字符匹配,但不匹配中文標(biāo)點(diǎn)的完美解決方案。
- 2023-01-30 如何使用Flutter實(shí)現(xiàn)手寫(xiě)簽名效果_Android
- 2022-04-08 python實(shí)現(xiàn)有效的括號(hào)判斷實(shí)例代碼_python
- 最近更新
-
- window11 系統(tǒng)安裝 yarn
- 超詳細(xì)win安裝深度學(xué)習(xí)環(huán)境2025年最新版(
- Linux 中運(yùn)行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲(chǔ)小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎(chǔ)操作-- 運(yùn)算符,流程控制 Flo
- 1. Int 和Integer 的區(qū)別,Jav
- spring @retryable不生效的一種
- Spring Security之認(rèn)證信息的處理
- Spring Security之認(rèn)證過(guò)濾器
- Spring Security概述快速入門(mén)
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權(quán)
- redisson分布式鎖中waittime的設(shè)
- maven:解決release錯(cuò)誤:Artif
- restTemplate使用總結(jié)
- Spring Security之安全異常處理
- MybatisPlus優(yōu)雅實(shí)現(xiàn)加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務(wù)發(fā)現(xiàn)-Nac
- Spring Security之基于HttpR
- Redis 底層數(shù)據(jù)結(jié)構(gòu)-簡(jiǎn)單動(dòng)態(tài)字符串(SD
- arthas操作spring被代理目標(biāo)對(duì)象命令
- Spring中的單例模式應(yīng)用詳解
- 聊聊消息隊(duì)列,發(fā)送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠(yuǎn)程分支