logo
docker.io/prom/prometheus:v3.13.1
linux/amd64 docker.io 已验证 · Prometheus

prom/prometheus 是 Prometheus 的官方 Docker 镜像,这个镜像提供了一个完整的 Prometheus 服务,可以用于收集和存储指标数据、创建报表和 alerting。该镜像支持多种数据源,如 Node exported metrics、PostgreSQL 等。

19
浏览次数
250.22MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/prom/prometheus:v3.13.1
源镜像
docker.io/prom/prometheus:v3.13.1
镜像ID
sha256:9c3c26cff425955a92cc513ac4ad058923ba7659496cad9f7e2f871a01dfdb1f
镜像 TAG
v3.13.1
镜像大小
250.22MB
平台架构
linux/amd64
镜像源
docker.io
CMD
--config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/prometheus
启动入口
/bin/prometheus
工作目录
/prometheus
OS/平台
linux/amd64
镜像创建
2026-07-10T08:49:03.827956727Z
同步时间
2026-07-14 15:31
浏览量
19 次
贡献者
🔌 开放端口 1
9090/tcp
📁 目录挂载 1
 /prometheus
⚙️ 环境变量 1
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
🏷️ 镜像标签 10
KeyValue
busybox io.prometheus.image.variant
The Prometheus Authors <prometheus-developers@googlegroups.com> maintainer
The Prometheus Authors org.opencontainers.image.authors
The Prometheus monitoring system and time series database org.opencontainers.image.description
https://prometheus.io/docs org.opencontainers.image.documentation
Apache License 2.0 org.opencontainers.image.licenses
https://github.com/prometheus/prometheus org.opencontainers.image.source
Prometheus org.opencontainers.image.title
https://github.com/prometheus/prometheus org.opencontainers.image.url
Prometheus org.opencontainers.image.vendor
🛡️ 镜像安全扫描
Trivy 2026-07-14 15:31 查看完整报告
0
低危 LOW
0
中危 MEDIUM
0
高危 HIGH
0
严重 CRITICAL
受影响目标 (2)
bin/prometheus gobinary bin/promtool gobinary

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/prom/prometheus:v3.13.1
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/prom/prometheus:v3.13.1  docker.io/prom/prometheus:v3.13.1

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/prom/prometheus:v3.13.1
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/prom/prometheus:v3.13.1  docker.io/prom/prometheus:v3.13.1

Shell快速替换命令

sed -i 's#prom/prometheus:v3.13.1#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/prom/prometheus:v3.13.1#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/prom/prometheus:v3.13.1 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/prom/prometheus:v3.13.1  docker.io/prom/prometheus:v3.13.1'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/prom/prometheus:v3.13.1 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/prom/prometheus:v3.13.1  docker.io/prom/prometheus:v3.13.1'

镜像构建历史


# 2026-07-10 16:49:03  0.00B 设置默认要执行的命令
CMD ["--config.file=/etc/prometheus/prometheus.yml" "--storage.tsdb.path=/prometheus"]
                        
# 2026-07-10 16:49:03  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/bin/prometheus"]
                        
# 2026-07-10 16:49:03  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/prometheus]
                        
# 2026-07-10 16:49:03  0.00B 声明容器运行时监听的端口
EXPOSE map[9090/tcp:{}]
                        
# 2026-07-10 16:49:03  0.00B 指定运行容器时使用的用户
USER nobody
                        
# 2026-07-10 16:49:03  1.09KB 执行命令并创建新的镜像层
RUN |2 ARCH=amd64 OS=linux /bin/sh -c chown -R nobody:nobody /etc/prometheus /prometheus && chmod g+w /prometheus # buildkit
                        
# 2026-07-10 16:49:03  0.00B 设置工作目录为/prometheus
WORKDIR /prometheus
                        
# 2026-07-10 16:49:03  4.37KB 复制新文件或目录到容器中
COPY NOTICE /NOTICE # buildkit
                        
# 2026-07-10 16:49:03  11.36KB 复制新文件或目录到容器中
COPY LICENSE /LICENSE # buildkit
                        
# 2026-07-10 16:49:03  1.09KB 复制新文件或目录到容器中
COPY documentation/examples/prometheus.yml /etc/prometheus/prometheus.yml # buildkit
                        
# 2026-07-10 16:49:03  112.22MB 复制新文件或目录到容器中
COPY .build/linux-amd64/promtool /bin/promtool # buildkit
                        
# 2026-07-10 16:49:03  135.86MB 复制新文件或目录到容器中
COPY .build/linux-amd64/prometheus /bin/prometheus # buildkit
                        
# 2026-07-10 16:49:03  0.00B 定义构建参数
ARG OS=linux
                        
# 2026-07-10 16:49:03  0.00B 定义构建参数
ARG ARCH=amd64
                        
# 2026-07-10 16:49:03  0.00B 添加元数据标签
LABEL org.opencontainers.image.authors=The Prometheus Authors org.opencontainers.image.vendor=Prometheus org.opencontainers.image.title=Prometheus org.opencontainers.image.description=The Prometheus monitoring system and time series database org.opencontainers.image.source=https://github.com/prometheus/prometheus org.opencontainers.image.url=https://github.com/prometheus/prometheus org.opencontainers.image.documentation=https://prometheus.io/docs org.opencontainers.image.licenses=Apache License 2.0 io.prometheus.image.variant=busybox
                        
# 2026-07-10 16:49:03  0.00B 添加元数据标签
LABEL maintainer=The Prometheus Authors <prometheus-developers@googlegroups.com>
                        
# 2026-06-23 16:36:57  868.53KB 复制新文件或目录到容器中
COPY /rootfs / # buildkit
                        
# 2026-06-23 16:36:57  0.00B 
MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com>
                        
# 2026-05-13 10:21:49  1.26MB 
BusyBox 1.38.0 (uclibc), Buildroot 2026.02.2, Debian 13
                        
                    

镜像信息

{
    "Id": "sha256:9c3c26cff425955a92cc513ac4ad058923ba7659496cad9f7e2f871a01dfdb1f",
    "RepoTags": [
        "prom/prometheus:v3.13.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/prom/prometheus:v3.13.1"
    ],
    "RepoDigests": [
        "prom/prometheus@sha256:3c42b892cf723fa54d2f262c37a0e1f80aa8c8ddb1da7b9b0df9455a35a7f893",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/prom/prometheus@sha256:bd2dcadfb0d1096e2a4c21817ac7af918e2f19ff628e4bf25fd67a924c13dd80"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-07-10T08:49:03.827956727Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "The Prometheus Authors \u003cprometheus-developers@googlegroups.com\u003e",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "nobody",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "9090/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "Cmd": [
            "--config.file=/etc/prometheus/prometheus.yml",
            "--storage.tsdb.path=/prometheus"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/prometheus": {}
        },
        "WorkingDir": "/prometheus",
        "Entrypoint": [
            "/bin/prometheus"
        ],
        "OnBuild": null,
        "Labels": {
            "io.prometheus.image.variant": "busybox",
            "maintainer": "The Prometheus Authors \u003cprometheus-developers@googlegroups.com\u003e",
            "org.opencontainers.image.authors": "The Prometheus Authors",
            "org.opencontainers.image.description": "The Prometheus monitoring system and time series database",
            "org.opencontainers.image.documentation": "https://prometheus.io/docs",
            "org.opencontainers.image.licenses": "Apache License 2.0",
            "org.opencontainers.image.source": "https://github.com/prometheus/prometheus",
            "org.opencontainers.image.title": "Prometheus",
            "org.opencontainers.image.url": "https://github.com/prometheus/prometheus",
            "org.opencontainers.image.vendor": "Prometheus"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 250217400,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/22ff9b4a7ef646d7b9b216a49704511678f26cdd6b808072ff60e8025b4edfc9/diff:/var/lib/docker/overlay2/5b205807b9823ee09a2a53e5482fbabf89eebf0d5c986bdeba2d20a579a5a0e0/diff:/var/lib/docker/overlay2/7842430a1c389b9cbf4a6cf5be21533ede0e4b756b5f90aecc4ea87e257b9732/diff:/var/lib/docker/overlay2/2832d30cc15f11c3fda8f58fa90e96015e429448dedf2a5d937fe9c8e056d1a1/diff:/var/lib/docker/overlay2/10c8e448b2705ebe7fa426c30a6e58b80bf3dce9f49f254efe6d711a716cf62b/diff:/var/lib/docker/overlay2/dd9945fe6b33b8b963a5b0876054f3c3dcefeec80126f43f730c8a0324a83478/diff:/var/lib/docker/overlay2/bfba75c1db3a5bd3ac617f034b044575ee0f544018ee778a343395ddd1f6548b/diff:/var/lib/docker/overlay2/a668faf000cbd4b5a94a70a2b0bf891f2982e23e2552abc81788bc5ce4e2bf8e/diff",
            "MergedDir": "/var/lib/docker/overlay2/e66e806d736b1670b0dc3a90acd326e7e6b2a2891c4134c27defcd806123b1c3/merged",
            "UpperDir": "/var/lib/docker/overlay2/e66e806d736b1670b0dc3a90acd326e7e6b2a2891c4134c27defcd806123b1c3/diff",
            "WorkDir": "/var/lib/docker/overlay2/e66e806d736b1670b0dc3a90acd326e7e6b2a2891c4134c27defcd806123b1c3/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:aa7b79d243076cc760c0b06dd535bb163cb216cb4fcf4d38019ffee58d862cc6",
            "sha256:b72b848ff706c7d193e04254f0007214a04d63c3854b190545535cbef8fffab2",
            "sha256:3b9545c2cdc6262ac80b4e54495a4eb3f96abe57a0de51b0608f73b627f5efad",
            "sha256:ade81ce30a39d296ad11328569c8a3636e1361c0050ab45598111240e117f27a",
            "sha256:fc344e08ac1a29511ab481c1a3f5ebc88f1e4e712d81933e4322186e9788f9a0",
            "sha256:a99b78a88e33add0a9acd95e0c44b840014fe89809071545da8eb4b62b1c1833",
            "sha256:9a373617371b26cd13190f215a6314713dd8bb27a346ff7118bf0408a285b0d7",
            "sha256:86907f6cc478453b1fee1b07980177dac0bb0e9844ffd659bebf64d36016bb10",
            "sha256:052d8f47db03650380da277c4b82f55a47d3ab8770f28bc69e1b9d698ca35345"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-07-14T15:31:07.524131173+08:00"
    }
}

更多版本

docker.io/prom/prometheus:v2.34.0

linux/amd64 docker.io204.91MB2024-04-01 15:12
1738

docker.io/prom/prometheus:v2.52.0

linux/amd64 docker.io271.73MB2024-06-20 09:21
2632

docker.io/prom/prometheus:v2.26.0

linux/amd64 docker.io169.41MB2024-07-03 10:43
1674

docker.io/prom/prometheus:v2.18.1

linux/amd64 docker.io139.95MB2024-07-26 14:51
672

docker.io/prom/prometheus:v2.53.1

linux/amd64 docker.io270.50MB2024-07-30 22:32
789

docker.io/prom/prometheus:v2.44.0

linux/amd64 docker.io234.10MB2024-08-04 21:37
814

docker.io/prom/prometheus:v2.13.1

linux/amd64 docker.io128.57MB2024-08-06 14:28
741

docker.io/prom/prometheus:v2.53.2

linux/amd64 docker.io270.53MB2024-08-21 13:48
861

docker.io/prom/prometheus:v2.36.2

linux/amd64 docker.io210.75MB2024-08-23 11:25
570

docker.io/prom/prometheus:v2.54.1

linux/arm64 docker.io269.11MB2024-09-02 14:23
1292

docker.io/prom/prometheus:v2.39.1

linux/amd64 docker.io219.68MB2024-09-05 08:21
1167

docker.io/prom/prometheus:v2.54.1

linux/amd64 docker.io274.86MB2024-09-06 01:01
1653

docker.io/prom/prometheus:latest

linux/amd64 docker.io274.86MB2024-09-21 10:12
1839

docker.io/prom/prometheus:v2.51.2

linux/amd64 docker.io261.57MB2024-10-30 10:48
1202

docker.io/prom/prometheus:v2.44.0

linux/arm64 docker.io226.07MB2024-11-01 09:18
657

docker.io/prom/prometheus:v2.55.0

linux/amd64 docker.io290.09MB2024-11-07 15:10
687

docker.io/prom/prometheus:v2.45.6

linux/amd64 docker.io238.29MB2024-11-15 16:01
547

docker.io/prom/prometheus:v2.48.1

linux/amd64 docker.io247.19MB2024-11-15 16:16
528

docker.io/prom/prometheus:v3.0.0

linux/amd64 docker.io291.79MB2024-11-21 18:02
748

docker.io/prom/prometheus:v2.53.3

linux/amd64 docker.io270.52MB2024-11-22 15:10
646

docker.io/prom/prometheus:v2.37.6

linux/amd64 docker.io216.76MB2024-11-29 16:34
604

docker.io/prom/prometheus:v3.0.1

linux/amd64 docker.io291.77MB2024-12-06 15:10
707

docker.io/prom/prometheus:v2.27.1

linux/amd64 docker.io185.15MB2025-01-14 15:13
543

docker.io/prom/prometheus:v2.41.0

linux/amd64 docker.io231.19MB2025-01-17 15:40
848

docker.io/prom/prometheus:v2.25.0

linux/amd64 docker.io174.83MB2025-01-21 15:23
607

docker.io/prom/prometheus:v2.55.0

linux/arm64 docker.io284.75MB2025-02-06 14:21
875

docker.io/prom/prometheus:v3.1.0

linux/amd64 docker.io294.51MB2025-02-08 15:37
808

docker.io/prom/prometheus:v2.31.1

linux/amd64 docker.io194.15MB2025-02-13 17:16
454

docker.io/prom/prometheus:v3.2.0

linux/amd64 docker.io295.21MB2025-02-24 10:52
606

docker.io/prom/prometheus:latest

linux/arm64 docker.io289.27MB2025-03-15 12:05
1705

docker.io/prom/prometheus:v2.27.1

linux/arm64 docker.io176.07MB2025-03-15 18:19
517

docker.io/prom/prometheus:v3.2.1

linux/amd64 docker.io295.21MB2025-03-21 15:45
900

docker.io/prom/prometheus:v2.53.4

linux/amd64 docker.io270.51MB2025-04-15 11:26
603

docker.io/prom/prometheus:v3.3.0-rc.1

linux/amd64 docker.io302.15MB2025-04-15 21:14
601

docker.io/prom/prometheus:v3.3.0

linux/amd64 docker.io302.15MB2025-04-18 08:37
651

docker.io/prom/prometheus:v2.55.1

linux/amd64 docker.io290.08MB2025-05-29 17:19
791

docker.io/prom/prometheus:v3.4.0

linux/amd64 docker.io303.84MB2025-05-30 09:45
658

docker.io/prom/prometheus:v2.47.0

linux/amd64 docker.io245.48MB2025-05-30 15:14
596

docker.io/prom/prometheus:v2.47.2

linux/amd64 docker.io245.47MB2025-06-06 13:40
526

docker.io/prom/prometheus:v3.4.1

linux/amd64 docker.io303.87MB2025-06-20 17:36
679

docker.io/prom/prometheus:v2.21.0

linux/amd64 docker.io167.77MB2025-07-15 14:41
503

docker.io/prom/prometheus:v2.21.0

linux/arm64 docker.io158.62MB2025-07-22 20:38
402

docker.io/prom/prometheus:v3.4.1

linux/arm64 docker.io294.59MB2025-07-24 12:38
669

docker.io/prom/prometheus:v3.5.0

linux/amd64 docker.io313.02MB2025-07-30 15:43
1487

docker.io/prom/prometheus:v3.5.0

linux/arm64 docker.io303.24MB2025-10-20 11:08
508

docker.io/prom/prometheus:v3.7.2

linux/amd64 docker.io369.56MB2025-10-29 17:25
417

docker.io/prom/prometheus:v3.7.3

linux/amd64 docker.io369.58MB2025-11-08 12:36
692

docker.io/prom/prometheus:v3.3.1

linux/amd64 docker.io302.19MB2025-11-10 21:31
295

docker.io/prom/prometheus:v2.53.0

linux/amd64 docker.io270.52MB2025-11-10 21:53
672

docker.io/prom/prometheus:v3.4.2

linux/amd64 docker.io303.85MB2025-11-17 15:37
327

docker.io/prom/prometheus:v2.55.1

linux/arm64 docker.io284.74MB2025-12-01 16:24
332

docker.io/prom/prometheus:v3.8.0

linux/amd64 docker.io378.20MB2025-12-13 17:11
575

docker.io/prom/prometheus:v3.8.1

linux/amd64 docker.io377.56MB2025-12-25 22:12
630

docker.io/prom/prometheus:v2.51.2

linux/arm64 docker.io255.89MB2025-12-26 17:23
387

docker.io/prom/prometheus:v3.9.1

linux/amd64 docker.io366.55MB2026-01-21 10:32
1482

docker.io/prom/prometheus:v3.5.1

linux/amd64 docker.io312.27MB2026-02-02 17:32
965

docker.io/prom/prometheus:v3.10.0

linux/arm64 docker.io359.16MB2026-02-26 10:35
273

docker.io/prom/prometheus:v3.10.0

linux/amd64 docker.io389.56MB2026-02-26 10:36
443

docker.io/prom/prometheus:v3.11.0

linux/amd64 docker.io422.95MB2026-04-07 14:50
282

docker.io/prom/prometheus:v3.11.1

linux/amd64 docker.io422.95MB2026-04-11 15:39
290

docker.io/prom/prometheus:v3.8.1

linux/arm64 docker.io350.96MB2026-05-06 14:40
163

docker.io/prom/prometheus:v3.11.3

linux/amd64 docker.io422.96MB2026-05-13 11:58
251

docker.io/prom/prometheus:v2.28.1

linux/amd64 docker.io188.86MB2026-05-15 03:02
145

docker.io/prom/prometheus:v2.51.1

linux/arm64 docker.io255.82MB2026-05-28 17:12
109

docker.io/prom/prometheus-linux-riscv64:v3.12.0-busybox

linux/riscv64 docker.io405.40MB2026-06-05 14:20
61

docker.io/prom/prometheus:v3.12.0-busybox

linux/amd64 docker.io435.51MB2026-06-06 09:53
205

docker.io/prom/prometheus:v3.12.0-busybox

linux/arm64 docker.io399.39MB2026-06-06 14:55
83

docker.io/prom/prometheus:v3.5.4

linux/arm64 docker.io292.59MB2026-06-18 10:20
109

docker.io/prom/prometheus:v3.13.1

linux/amd64 docker.io250.22MB2026-07-14 15:31
18

docker.io/prom/prometheus:v3.13.1

linux/arm64 docker.io235.71MB2026-07-15 02:03
4
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×