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 ... 
随机推荐
- Java8相关底层
			Java8是往并行方向走的.由面向对象到函数式编程. 在支持函数式编程的同时还可以支持面向对象的开发. 在JDK1.8里面,接口里面可以有实现方法的!默认方法,default.实现这个接口. 接口里面 ... 
- shell基础知识6-在不按回车键的情况下读入N个字符
			Bash命令 read 能够从键盘或标准输入中读取文本.我们可以使用 read 以交互的形式读取用 户输入,不过 read 能做的可远不止这些.编程语言的大多数输入库都是从键盘读取输入,当回 车键按下 ... 
- ELK 部署相关问题汇总
			1.启动es-head问题 因为高版本es-head需要单独启动,所以先要安装npm等工具.安装教程见[1] 启动命令:../elasticsearch-head/node_modules/grunt ... 
- LeetCode_448. Find All Numbers Disappeared in an Array
			448. Find All Numbers Disappeared in an Array Easy Given an array of integers where 1 ≤ a[i] ≤ n (n ... 
- SignalR 填坑记
			1.发送文字消息没有问题,如何发送文件消息 SignalR可以将参数序列化和反序列化. 这些参数被序列化的格式叫做Hub 协议, 所以Hub协议就是一种用来序列化和反序列化的格式. Hub协议的默认协 ... 
- Visual Studio Code工具使用及配置
			最近迷上了这个工具,启动速度快,好多插件.唯一不满意的地方就是svn版本控制工具.下面发现我装的一些插件及配置: 我安装的一些插件: 上面是我装的插件,等有时间再解释下插件的作用. 接下来说下配置: ... 
- python 之  面向对象(反射、__str__、__del__)
			7.10 反射 下述四个函数是专门用来操作类与对象属性的.通过字符串来操作类与对象的属性,这种操作称为反射 class People: country="China" def __ ... 
- 如何修改通过Anaconda安装的jupyter notebook的工作目录
			通过Anaconda安装jupyter notebook,对新手来说是一个非常明智的选择,可以避免很多不必要的麻烦! jupyter notbook默认情况下的工作目录是c:\user\...,接下来 ... 
- python之Ai测试Applitools使用
			一:Appltools下载: pip install eyes-selenium==3.16.2 二:注册:Appltools账号:https://applitools.com/sign-up 三.获 ... 
- ubuntu Docker安装部署Rancher
			一.Rancher简介 Rancher是一个开源的企业级容器管理平台.通过Rancher,企业再也不必自己使用一系列的开源软件去从头搭建容器服务平台.Rancher提供了在生产环境中使用的管理Dock ... 
