一、部署docker

参考 https://www.ronlllllll.com/archives/sudo-apt-get-docker

二、创建docker-compose.yml文件

sudo -i  #切换到root用户
mkdir dashdot;cd dashdot  #创建一个目录,并进入此目录
vim docker-compose.yml
version: '3.5'

services:
  dash:
    image: mauricenino/dashdot:latest
    restart: unless-stopped
    privileged: true
    ports:
      - '3001:3001'
    volumes:
      - /:/mnt/host:ro

三、执行容器运行命令

docker-compose up -d #运行容器

四、打开web页面使用

成功以后需要打开自己相应的端口防火墙就可以web端访问了

http://ip:3001   #打开自己VPS的端口加ip进入web页面