使用到的命令:

[root@lgswork ~]# docker search prometheus
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
prom/prometheus [OK]
functions/prometheus prometheus [OK]
basi/prometheus-swarm A sample image that can be used as a base fo… [OK]
bitnami/prometheus Bitnami Docker Image for Prometheus [OK]
infinityworks/prometheus-rancher-exporter Exposes Service/Stack/Host status from the R… [OK]
linuxtips/prometheus_alpine Image to run Prometheus on Alpine Linux. #VA… [OK]
rycus86/prometheus Prometheus monitoring - prometheus.io [OK]
lloesche/prometheus-dcos Prometheus on DC/OS [OK]
openshift/prometheus Prometheus images for OpenShift
vampouille/prometheus_rancher_metadata Expose rancher metadata 'create_index' field… [OK]
alxrem/prometheus-logstash-exporter Prometheus exporter for metrics provided by … [OK]
wehkamp/prometheus-cloudflare-exporter Prometheus Cloudflare exporter
ibmcom/prometheus Docker Image for IBM Cloud Private-CE (Commu…
ansibleplaybookbundle/prometheus-apb An APB that deploys Prometheus [OK]
itwye/prometheus_client prometheus client for application create met… [OK]
indicatorprotocol/prometheus-indicator-controller Prometheus indicator controller for Kubernet…
camptocamp/prometheus-server-rules-conf Docker image for Prometheus recording rules [OK]
camptocamp/prometheus-server-conf Image for prometheus-server-conf [OK]
mthenw/prometheus-ecs-discovery https://github.com/teralytics/prometheus-ecs… 0 [OK]
bzon/prometheus-msteams Prometheus Alerts for Microsoft Teams
carlosedp/prometheus Prometheus images for ARM/ARM64
solsson/prometheus-exporter-apache https://github.com/prometheus/prometheus/wik… 0 [OK]
camptocamp/prometheus-config-merger Merge multiple yaml snippets into one, and r… [OK]
camptocamp/prometheus-rancher-metadata-conf rancher-metadata confd prometheus template [OK]
braedon/prometheus-es-exporter Elasticsearch query Prometheus exporter [OK]
[root@lgswork ~]# docker pull prometheus
Using default tag: latest
Error response from daemon: pull access denied for prometheus, repository does not exist or may require 'docker login'
[root@lgswork ~]# docker pull quay.io/prometheus/prometheus
Using default tag: latest
latest: Pulling from prometheus/prometheus
8e674ad76dce: Pull complete
e77d2419d1c2: Pull complete
404121236cc3: Pull complete
9177a3dd2b55: Pull complete
322a0ba168eb: Pull complete
a6d55ecbc9e1: Pull complete
bd9aab1d6b43: Pull complete
afbd972630e5: Pull complete
1196a163e012: Pull complete
Digest: sha256:2ff2d910742194d5e57e555e4b2314620bb8d444ab4a7711a2bfe2b1840092d7
Status: Downloaded newer image for quay.io/prometheus/prometheus:latest
[root@lgswork ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
quay.io/prometheus/prometheus latest a3d30ee5b98b days ago 128MB
192.168.21.76:/jiang-erauke 0.0.-SNAPSHOT e99705190391 months ago 659MB
jdk1. latest a09b9868214b months ago 598MB
192.168.21.76:/jdk1. latest a09b9868214b months ago 598MB
zookeeper 3.5 13681ca86f62 months ago 225MB
gogs/gogs latest 544dcfc7bef8 months ago 100MB
mysql 5.7 a1aa4f76fab9 months ago 373MB
mongo latest 5976dac61f4f months ago 411MB
docker latest af42f41a7d73 months ago 171MB
rancher/server latest d4fb2bbe38af months ago .09GB
centos/mysql--centos7 latest e35b3f7a4ea0 months ago 452MB
foxiswho/rocketmq server-4.3. 6741b897d310 months ago 383MB
centos 9f38484d220f months ago 202MB

搜索下载 查看

执行命令安装

[root@lgswork ~]# docker run --name prometheus -d -p : quay.io/prometheus/prometheus
4c15a14b686be30fd765693143834b55ab07980a09fb625c335c54258d348b0b
[root@lgswork ~]#

Docker 管理 prometheus

[root@lgswork ~]# docker ps | grep prometheus
1cc32417503f quay.io/prometheus/prometheus "/bin/prometheus --c…" About a minute ago Up About a minute 127.0.0.1:->/tcp prometheus
[root@lgswork ~]#

运行 docker start prometheus 启动服务

运行 docker stats prometheus 查看 prometheus 状态

运行 docker stop prometheus 停止服务

docker 安装prometheus的更多相关文章

  1. docker 安装prometheus和grafna

    一.拉取镜像 docker pull prom/prometheus 二.配置 sudo mkdir /etc/prometheus/ sudo vim /etc/prometheus/prometh ...

  2. Docker安装prometheus

    # 拉取镜像 docker pull prom/prometheus:v2.22.0 # 创建配置文件 mkdir -p /opt/prometheus/ cd /opt/prometheus vim ...

  3. Prometheus介绍及docker安装方式

    一.介绍 Prometheus是主要基于Go编写,最初在SoundCloud上构建的开源系统监视和警报工具包,它启发于 Google 的 borgmon 监控系统,由工作在 SoundCloud 的 ...

  4. 基于docker 搭建Prometheus+Grafana

    一.介绍Prometheus Prometheus(普罗米修斯)是一套开源的监控&报警&时间序列数据库的组合,起始是由SoundCloud公司开发的.随着发展,越来越多公司和组织接受采 ...

  5. ubuntu 18 docker 搭建Prometheus+Grafana

    Prometheus(普罗米修斯)是一套开源的监控&报警&时间序列数据库的组合,起始是由SoundCloud公司开发的.随着发展,越来越多公司和组织接受采用Prometheus,社会也 ...

  6. [转帖]基于docker 搭建Prometheus+Grafana

    基于docker 搭建Prometheus+Grafana https://www.cnblogs.com/xiao987334176/p/9930517.html need good study 一 ...

  7. Docker安装ElasticSearch 版本7.1.1

    一.Docker 部署 ElasticSearch 1.从仓库中查找所有ElasticSearch的镜像 [root@iZwz99dhxbd6xwly17tb3bZ app]# docker sear ...

  8. k8s 安装 prometheus 过程记录

    开始以为只要安装 prometheus-operator 就行了. git clone https://github.com/coreos/prometheus-operator.git cd pro ...

  9. Docker搭建Prometheus+grafana监控系统

    一.Prometheus简介 1.简介 Prometheus是由SoundCloud开发的开源监控报警系统和时序列数据库(TSDB). Prometheus使用Go语言开发,是Google BorgM ...

随机推荐

  1. Python3基础 import...as 给导入的模块起别名

             Python : 3.7.3          OS : Ubuntu 18.04.2 LTS         IDE : pycharm-community-2019.1.3    ...

  2. MyBatis 返回 List mapperxml怎么写

    转: MyBatis 返回 List mapperxml怎么写? 原创 微wx笑 发布于2018-06-20 13:59:23 阅读数 10742 收藏 展开 有时候,我们不需要整个表的所有字段,而是 ...

  3. java自定义jar包让jemeter使用

    背景:可能在做定义化的要求上,jmeter原有的jar包,已经不能满足我们,就需要自己写一个方法,以下就是写入的一个模拟post的请求,在jmeter中使用的案例 一:写代码 1.代码中的有两个包,原 ...

  4. svn"重新定位"提示版本库uuid不匹配

    svn"重新定位"提示版本库 uuid不匹配: 版本库 "https://wolfcome110/svn/andon" 的 uuid是 "d52648 ...

  5. linux 资源

    linux 资源查看 cpu 信息 通过/proc/cpuinfo 查看  # 总核数 = 物理CPU个数 X 每颗物理CPU的核数  # 总逻辑CPU数 = 物理CPU个数 X 每颗物理CPU的核数 ...

  6. fineui整合kindeditor的例子

    如果看不清: http://fineui.com/bbs/forum.php?mod=viewthread&tid=6683   注意:高于fineui v4.2.0的版本kindeditor ...

  7. SQL Server 中的窗口函数(2012 新函数)

    简介 SQL Server 2012之后对窗口函数进行了极大的加强,但对于很多开发人员来说,对窗口函数却不甚了解,导致了这样强大的功能被浪费,因此本篇文章主要谈一谈SQL Server中窗口函数的概念 ...

  8. 【转帖】Hadoop — HDFS的概念、原理及基本操作

    Hadoop — HDFS的概念.原理及基本操作 https://www.cnblogs.com/swordfall/p/8709025.html 分类: Hadoop undefined 1. HD ...

  9. cf-786B区间图最短路

    https://www.cnblogs.com/31415926535x/p/11611801.html 偶然看到的这个东西,可以说是第一次见到图论+数据结构的题了,,这题代码很简单,细节处理一下就没 ...

  10. go编译运行说明

    二  编译运行说明 1.1 编译 1)有了go源文件,通过编译器将其编译成机器可以识别的二进制码文件. 2)在该源文件目录下,通过 go build 对hello.go 文件进行编译.可以指定生成的可 ...