使用到的命令:

[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. Could not find com.android.tools.build:gradle:3.3.0.

    导入新项目时报错: Error:Could not find com.android.tools.build:gradle:3.3.0. Searched in the following locat ...

  2. IPv4分类

    IPv4地址按逻辑层次分为五类 A类 保留给政府机构 A类地址第1字节为网络地址,其它3个字节为主机地址.它的第1个字节的第一位固定为0. A类地址网络号范围:1.0.0.0 - 126.0.0.0 ...

  3. npm 加速之 yarn cnpm pnpm

    npm 加速之 yarn cnpm pnpm 有没有感觉到使用 npm 的时候很慢? 安装速度 几Kb/s 不说, 还装着装着出错了, 奇奇怪怪的问题.这种情况大多数还是因为网络的原因, 很多时候虽然 ...

  4. linux默认的2.7升级到3.7版本

    CentOS7中自带的python版本是python-2.7.5,由于新开的虚拟机需要使用python3,于是便升级一下版本. 安装Python3.7.3 官网下载地址:https://www.pyt ...

  5. EasyDSS高性能RTMP、HLS(m3u8)、HTTP-FLV、RTSP流媒体服务器web前端:vue组件之间的传值,父组件向子组件传值

    前端方面,EasyDSS流媒体服务器与EasyNVR有着根本的不同.EasyNVR使用的是传统的js来进行开发,而EasyDSS使用的是webpack+vue来进行开发的,了解vue+webpack的 ...

  6. Java分布式:分布式锁之Zookeeper

    Java分布式:分布式锁之Zookeeper 分布式锁系列教程重点分享锁实现原理 引入ZooKeeper ZooKeeper是什么呢? ZooKeeper 是一个开源的分布式协调服务,它可以在分布式系 ...

  7. jdk安装配置(不适合新人,个人随笔)

    jdk下载:https://www.oracle.com/technetwork/java/javase/downloads/index.html 按个人喜好下载相应版本,一般比最新的低一个版本 下载 ...

  8. Python进阶:并发编程之Asyncio

    什么是Asyncio 多线程有诸多优点且应用广泛,但也存在一定的局限性: 比如,多线程运行过程容易被打断,因此有可能出现 race condition 的情况:再如,线程切换本身存在一定的损耗,线程数 ...

  9. Python之路【第十九篇】:前端CSS

    CSS 一.CSS概述 CSS是Cascading Style Sheets的简称,中文称为层叠式样式表,用来控制网页数据的表现,可以使网页的表现与数据内容分离. 学CSS后我们需要掌握的技能: 1. ...

  10. go上传图片微信服务器<<临时素材

    type WxImage struct { Type string `json:"type"` MediaId string `json:"media_id"` ...