docker 安装prometheus

使用到的命令:
[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的更多相关文章
- docker 安装prometheus和grafna
一.拉取镜像 docker pull prom/prometheus 二.配置 sudo mkdir /etc/prometheus/ sudo vim /etc/prometheus/prometh ...
- Docker安装prometheus
# 拉取镜像 docker pull prom/prometheus:v2.22.0 # 创建配置文件 mkdir -p /opt/prometheus/ cd /opt/prometheus vim ...
- Prometheus介绍及docker安装方式
一.介绍 Prometheus是主要基于Go编写,最初在SoundCloud上构建的开源系统监视和警报工具包,它启发于 Google 的 borgmon 监控系统,由工作在 SoundCloud 的 ...
- 基于docker 搭建Prometheus+Grafana
一.介绍Prometheus Prometheus(普罗米修斯)是一套开源的监控&报警&时间序列数据库的组合,起始是由SoundCloud公司开发的.随着发展,越来越多公司和组织接受采 ...
- ubuntu 18 docker 搭建Prometheus+Grafana
Prometheus(普罗米修斯)是一套开源的监控&报警&时间序列数据库的组合,起始是由SoundCloud公司开发的.随着发展,越来越多公司和组织接受采用Prometheus,社会也 ...
- [转帖]基于docker 搭建Prometheus+Grafana
基于docker 搭建Prometheus+Grafana https://www.cnblogs.com/xiao987334176/p/9930517.html need good study 一 ...
- Docker安装ElasticSearch 版本7.1.1
一.Docker 部署 ElasticSearch 1.从仓库中查找所有ElasticSearch的镜像 [root@iZwz99dhxbd6xwly17tb3bZ app]# docker sear ...
- k8s 安装 prometheus 过程记录
开始以为只要安装 prometheus-operator 就行了. git clone https://github.com/coreos/prometheus-operator.git cd pro ...
- Docker搭建Prometheus+grafana监控系统
一.Prometheus简介 1.简介 Prometheus是由SoundCloud开发的开源监控报警系统和时序列数据库(TSDB). Prometheus使用Go语言开发,是Google BorgM ...
随机推荐
- windows中设置php环境变量
1.我的电脑->右键(选择我的属性) 2.点击高级设置 3.点击环境变量 4.在系统变量中找到Path 点击 5.找到php.exe的文件目录,添加到path中 6.php -v 显示版本,表示 ...
- C++内存管理1-64位系统运行32位软件会占用更多的内存吗?
随着大容量内存成为电脑平台常规化的配置,在配置组装机时很多的用户都会选择8GB甚至是16GB的容量规格内存使用在自己的机器上,如果要将这8GB甚至是16GB的内容在系统使用时能充分利用起来的话,你平台 ...
- Maya编程——沿Curve绘制圆柱
操作流程: 1. VS运行代码,生成插件 2. 打开Maya绘制曲线,加载插件 3. 选中绘制的曲线,运行插件 Posts1.0 代码: #include <maya/MSimple.h> ...
- 微信小程序tabBar底部导航 不显示问题解析
2019年十月八号 转藏: 版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明. 本文链接:https://blog.csdn.net/wy_Blo ...
- Jenkins - 分布式构建
1 - 简介 Jenkins支持分布式多节点(Master-Slave)运行模式. 将安装Jenkins的主机作为Master节点,然后通过界面配置(或远端启动服务)来添加Slave节点. 在这种部署 ...
- Overview to “Toon/Cel shading”
转自:https://blog.felixkate.net/2017/01/19/toon-shading/ For the last couple of weeks I often had disc ...
- Git如何切换账户
如果你不知道现在本地Git用的帐号是什么,你可以输入 git config user.name 查看用户名 git config user.email 查看用户邮箱 修 ...
- 【ztree】隐藏显示节点
//显示隐藏的节点 var nodes = zTreeObj.getNodesByParam("isHidden", true); zTreeObj.showNodes(nodes ...
- 五、Spring中的@Import注解
一.使用@Import注解导入组件 @Import注解的作用是给容器中导入组件,回顾下我们给容器中导入组件的方式,可以通过Spring的xm配置方式,可以通过注解,如@Component等,也可以通过 ...
- ThinkPHP3(命名空间、RBAC)
命名空间 当开发大型项目的时候,可以会需要成千上万的文件 面向对象通过命名空间来解决这个问题的. PHP命名空间是PHP5.3以后才出现的. 命名空间中可以出现:类,函数,常量 只有const定义的常 ...