镜像构建历史
# 2025-02-06 13:18:48 0.00B 设置默认要执行的命令
CMD ["--config.file=/etc/prometheus/prometheus.yml" "--storage.tsdb.path=/prometheus"]
# 2025-02-06 13:18:48 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/bin/prometheus"]
# 2025-02-06 13:18:48 0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/prometheus]
# 2025-02-06 13:18:48 0.00B 声明容器运行时监听的端口
EXPOSE map[9090/tcp:{}]
# 2025-02-06 13:18:48 0.00B 指定运行容器时使用的用户
USER 65534:65534
# 2025-02-06 13:18:48 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c chown -R nobody:nobody /etc/prometheus /prometheus # buildkit
# 2025-02-06 13:18:48 0.00B 设置工作目录为/prometheus
WORKDIR /prometheus
# 2025-02-06 13:18:48 287.12MB 复制新文件或目录到容器中
COPY /bin/prometheus /bin/promtool /bin/ # buildkit
# 2025-02-06 13:18:47 1.00KB 复制新文件或目录到容器中
COPY /etc/prometheus /etc/prometheus # buildkit
# 2025-02-06 13:18:47 11.36KB 复制新文件或目录到容器中
COPY LICENSE /licenses/LICENSE # buildkit
# 2025-02-06 13:18:47 0.00B 添加元数据标签
LABEL name=prometheus vendor=Coroot, Inc. maintainer=Coroot, Inc. version=2.55.1 release=1 summary=Prometheus description=Prometheus UBI-based image.
# 2025-02-06 12:09:31 939.00B
/bin/sh
# 2025-02-06 12:09:17 225.33MB
/bin/sh -c #(nop) LABEL "build-date"="2025-02-06T04:08:23" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="f224cb95f5b43bbe01ac7468ebdc5b78f26ab4c1" "build-date"="2025-02-06T04:01:28Z" "release"="1738814488"
# 2025-02-06 12:09:16 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2025-02-06 12:09:16 0.00B
/bin/sh -c #(nop) COPY file:b37d593713ee21ad52a4cd1424dc019a24f7966f85df0ac4b86d234302695328 in /etc/yum.repos.d/.
# 2025-02-06 12:09:16 0.00B
/bin/sh -c #(nop) COPY dir:63a4287a6e02ef536ab7236227cde983fc555d2501cb8a0770e9b52a5941cb59 in /
# 2025-02-06 12:09:15 0.00B
/bin/sh -c #(nop) ENV container oci
# 2025-02-06 12:09:15 0.00B
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel9"
# 2025-02-06 12:09:15 0.00B
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
# 2025-02-06 12:09:15 0.00B
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9"
# 2025-02-06 12:09:15 0.00B
/bin/sh -c #(nop) LABEL io.k8s.description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
# 2025-02-06 12:09:15 0.00B
/bin/sh -c #(nop) LABEL description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
# 2025-02-06 12:09:15 0.00B
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 9."
# 2025-02-06 12:09:15 0.00B
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
# 2025-02-06 12:09:15 0.00B
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-container" name="ubi9" version="9.5" distribution-scope="public"
# 2025-02-06 12:09:15 0.00B
/bin/sh -c #(nop) LABEL url="https://www.redhat.com"
# 2025-02-06 12:09:15 0.00B
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc." vendor="Red Hat, Inc."
镜像信息
{
"Id": "sha256:91e014de8ffd33cfe8ec6e684df85c796b1433f18e824f4bfecd3114ba93f7a2",
"RepoTags": [
"ghcr.io/coroot/prometheus:2.55.1-ubi9-0",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/prometheus:2.55.1-ubi9-0"
],
"RepoDigests": [
"ghcr.io/coroot/prometheus@sha256:c2a4f92f728411b834b7abd07764cf587e28749c377b157443569dea4f81f833",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/prometheus@sha256:df33e711dc8855f1ab5ff1ddefdabb1d7a41172be1cbb5d786e487f4b48ba46e"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-02-06T05:18:48.728990071Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "65534:65534",
"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",
"container=oci"
],
"Cmd": [
"--config.file=/etc/prometheus/prometheus.yml",
"--storage.tsdb.path=/prometheus"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": {
"/prometheus": {}
},
"WorkingDir": "/prometheus",
"Entrypoint": [
"/bin/prometheus"
],
"OnBuild": null,
"Labels": {
"architecture": "x86_64",
"build-date": "2025-02-06T04:01:28Z",
"com.redhat.component": "ubi9-container",
"com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
"description": "Prometheus UBI-based image.",
"distribution-scope": "public",
"io.buildah.version": "1.38.0-dev",
"io.k8s.description": "The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.",
"io.k8s.display-name": "Red Hat Universal Base Image 9",
"io.openshift.expose-services": "",
"io.openshift.tags": "base rhel9",
"maintainer": "Coroot, Inc.",
"name": "prometheus",
"release": "1",
"summary": "Prometheus",
"url": "https://www.redhat.com",
"vcs-ref": "f224cb95f5b43bbe01ac7468ebdc5b78f26ab4c1",
"vcs-type": "git",
"vendor": "Coroot, Inc.",
"version": "2.55.1"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 512460380,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/5ab243341811fd009cbd12b8efac2b270c09244cab165f38c365e475b83c7ce7/diff:/var/lib/docker/overlay2/0bef82d7593f93968286301702798ab134ed3d742cba30cabd84e30f06b6174e/diff:/var/lib/docker/overlay2/f5d6e2093c6ec14ea75801f25bbe30ff6521d1209d5241b71906edf7fb647fc1/diff:/var/lib/docker/overlay2/995917359f3a6d8cd2c1e2a9a1609cfe63003f8cd00e613b4ca0ff61ce5ac580/diff:/var/lib/docker/overlay2/a16417eabdece065ea054935a55448c50d1a432b98d95d7f45831cf37b7eee2c/diff:/var/lib/docker/overlay2/f7ea47cb07e74fd3d0cf5320597bc565f8fc44c22d7de5cf262da67efe756555/diff",
"MergedDir": "/var/lib/docker/overlay2/4b8d3d02c85e737a0cb2d92feb8fd014726b7256e79a0adb476b68040c9c6b56/merged",
"UpperDir": "/var/lib/docker/overlay2/4b8d3d02c85e737a0cb2d92feb8fd014726b7256e79a0adb476b68040c9c6b56/diff",
"WorkDir": "/var/lib/docker/overlay2/4b8d3d02c85e737a0cb2d92feb8fd014726b7256e79a0adb476b68040c9c6b56/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:bdf90d1e391cef0e9bd0c24b7fd21c8938edc29f2103e58c060e413684c0e269",
"sha256:e2ce389fe0d79dbf5cd8b32d63bc22c96f2b8f76ee37ab8accc294a417b3a1c2",
"sha256:e9185069fed3eb1577c16ec55fe2e6f8cc2385cde2340ba8a4f1024bcb621250",
"sha256:9727c26fdef6cbcded91fea1d1d3d4e0987be945aa83c975771c0cf140bdeb38",
"sha256:96901a82fc7c8191068601569cfe3b1826ca7474a506fca4eef504a8ef849cc2",
"sha256:5ce6899a7c6603a8f7574368160bae1e612b7756a1d175923c1ddbe9720e41ba",
"sha256:ee6c84e2239e18fa22536977a07464b21405a5674173b3b2ba82da8b600120ae"
]
},
"Metadata": {
"LastTagTime": "2026-02-26T15:53:24.811787136+08:00"
}
}