First start prometheus on docker
You also need to start node_exporter to query performance indicators. It is troublesome to start node_exporter with docker, so start it with bash below.
[root@izbp1jfqk9lif6vh3vclhkz ~]# ll
total 22508
drwxr-xr-x 2 root root 4096 Oct 11 17:05 aa
-rw-r--r-- 1 root root 7 Oct 24 12:11 aa.html
drwxr-xr-x 2 root root 4096 Sep 29 10:40 docker
drwxrwxrwx 13 root root 4096 Sep 29 09:10 jenkins
-rw-r--r-- 1 root root 13916 Oct 24 10:34 Makefile
lrwxrwxrwx 1 root root 30 Oct 24 12:28 python3 -> /usr/local/python3/bin/python3
drwxr-xr-x 18 501 501 4096 Oct 24 10:43 Python-3.6.8
-rw-r--r-- 1 root root 23010188 Dec 24 2018 Python-3.6.8.tgz.1
[root@izbp1jfqk9lif6vh3vclhkz ~]# vi start_node_exporter.sh
[root@izbp1jfqk9lif6vh3vclhkz ~]# touch node_exporter.log
[root@izbp1jfqk9lif6vh3vclhkz ~]# bash start_node_exporter.sh
[root@izbp1jfqk9lif6vh3vclhkz ~]#
[root@izbp1jfqk9lif6vh3vclhkz ~]#
[root@izbp1jfqk9lif6vh3vclhkz ~]# ps -ef | grep node
65534 18176 18158 0 07:29 ? 00:00:00 /bin/node_exporter
root 19389 19361 0 21:53 pts/0 00:00:00 grep --color=auto node
The content in start_node_exporter.sh is
# !/bin/bash
nohup ./node_exporter/node_exporter >> node_exporter.log 2>&1 &