使用到的命令:

[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. SVN中“txn-current-lock:拒绝访问”错误

    SVN服务器使用的是Visual SVN,重装系统后,使用SVN commit是遇到:不能打开文件“XX:\XXXXX\db\txn-current-lock”: 拒绝访问这样的错误. 原因分析: u ...

  2. k8s记录-Dockerfile详解

    Dockerfile命令详解 下面我们来分别介绍下上面使用到的命令: FROM 格式:FROM 或FROM :. 解释:FROM必须是Dockerfile里的第一条指令(注视除外),后面跟有效的镜像名 ...

  3. 修改TestStand Testsocket 从非0开始

    Issue Details I am running the parallel process model or batch model and want my test sockets to be ...

  4. python:将时间戳格式化为yyyyMMdd hh:mm:ss

    import time #将10位时间戳或者13位转换为时间字符串,默认为2017-10-01 13:37:04格式 def timestamp_to_date(time_stamp, format_ ...

  5. Dockerfile & Docker Swarm & Docker Stack & Docker Compose

    Dockerfile 通俗地讲,它是为了指导单个镜像从无到有的构建过程.如果你镜像是从Docker registry上面拉下来的,那就用不到这个文件:如果你是自己的应用,想打包成镜像,那就需要这个文件 ...

  6. linux安装Elasticsearch详细步骤

    坑都已经踩好了 照着步骤一次成功  不多废话 走起 # ## 安装java运行环境 elasticsearch是用Java实现的 跑elasticsearch必须要有jre支持 所以必须先安装jre ...

  7. 【数据结构】6.java源码ArrayList

    关于ArrayList的源码关注点 1.从底层数据结构,扩容策略2.ArrayList的增删改查3.特殊处理重点关注4.遍历的速度,随机访问和iterator访问效率对比 1.从底层数据结构,扩容策略 ...

  8. 英语insuraunce保险

    中文名:保险 外文名:insurance或insuraunce 类型:保障机制,商业行为 作用:资金融通.损失补偿等 原则:分摊.代位.大数法则等原则 性质:契约经济关系 意义:市场经济条件下风险管理 ...

  9. python3的pip3安装

    ---恢复内容开始--- pip3的安装需要对应一整套python的编译工具库,所以安装好的pip3是这个样子: inear@Ai:~$ pip3 -V pip 18.1 from /usr/lib/ ...

  10. C# 单元测试学习笔记

    1.什么是单元测试         2.单元测试的好处 (1)协助程序员尽快找到代码中bug的具体位置 (2)能够让程序员对自己的程序更有自信 (3)能够让程序员在提交项目之前就将代码变的更加的强壮 ...