docker.io/grafana/grafana:main-ubuntu linux/amd64

docker.io/grafana/grafana:main-ubuntu - 国内下载镜像源 浏览次数:219
Grafana是一个开源的可视化工具,可以将各种数据源(如Prometheus、InfluxDB等)绑定到图表上,提供了rich的图形界面。该镜像用于部署Grafana应用程序
源镜像 docker.io/grafana/grafana:main-ubuntu
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/grafana:main-ubuntu
镜像ID sha256:a6bbda1fd311a5fe8b91fe23086d6f3f62473d4f28be10bcd79370718c7f1349
镜像TAG main-ubuntu
大小 560.67MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /run.sh
工作目录 /usr/share/grafana
OS/平台 linux/amd64
浏览量 219 次
贡献者 30******1@qq.com
镜像创建 2024-09-26T08:10:17.792146468Z
同步时间 2024-09-26 16:25
更新时间 2025-01-18 01:19
开放端口
3000/tcp
环境变量
PATH=/usr/share/grafana/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GF_PATHS_CONFIG=/etc/grafana/grafana.ini GF_PATHS_DATA=/var/lib/grafana GF_PATHS_HOME=/usr/share/grafana GF_PATHS_LOGS=/var/log/grafana GF_PATHS_PLUGINS=/var/lib/grafana/plugins GF_PATHS_PROVISIONING=/etc/grafana/provisioning
镜像标签
Grafana Labs <hello@grafana.com>: maintainer ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/grafana:main-ubuntu
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/grafana:main-ubuntu  docker.io/grafana/grafana:main-ubuntu

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/grafana:main-ubuntu
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/grafana:main-ubuntu  docker.io/grafana/grafana:main-ubuntu

Shell快速替换命令

sed -i 's#grafana/grafana:main-ubuntu#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/grafana:main-ubuntu#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/grafana:main-ubuntu && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/grafana:main-ubuntu  docker.io/grafana/grafana:main-ubuntu'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/grafana:main-ubuntu && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/grafana:main-ubuntu  docker.io/grafana/grafana:main-ubuntu'

镜像构建历史


# 2024-09-26 16:10:17  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/run.sh"]
                        
# 2024-09-26 16:10:17  0.00B 指定运行容器时使用的用户
USER 472
                        
# 2024-09-26 16:10:17  3.31KB 复制新文件或目录到容器中
COPY ./packaging/docker/run.sh /run.sh # buildkit
                        
# 2024-09-26 16:10:17  0.00B 定义构建参数
ARG RUN_SH=./packaging/docker/run.sh
                        
# 2024-09-26 16:10:17  0.00B 声明容器运行时监听的端口
EXPOSE map[3000/tcp:{}]
                        
# 2024-09-26 16:10:17  34.52KB 复制新文件或目录到容器中
COPY /tmp/grafana/LICENSE ./ # buildkit
                        
# 2024-09-26 16:10:17  225.75MB 复制新文件或目录到容器中
COPY /tmp/grafana/public ./public # buildkit
                        
# 2024-09-26 16:10:17  245.53MB 复制新文件或目录到容器中
COPY /tmp/grafana/bin/grafana* /tmp/grafana/bin/*/grafana* ./bin/ # buildkit
                        
# 2024-09-26 16:10:16  239.93KB 执行命令并创建新的镜像层
RUN |2 GF_UID=472 GF_GID=0 /bin/sh -c if [ ! $(getent group "$GF_GID") ]; then       if grep -i -q alpine /etc/issue; then         addgroup -S -g $GF_GID grafana;       else         addgroup --system --gid $GF_GID grafana;       fi;     fi &&     GF_GID_NAME=$(getent group $GF_GID | cut -d':' -f1) &&     mkdir -p "$GF_PATHS_HOME/.aws" &&     if grep -i -q alpine /etc/issue; then       adduser -S -u $GF_UID -G "$GF_GID_NAME" grafana;     else       adduser --system --uid $GF_UID --ingroup "$GF_GID_NAME" grafana;     fi &&     mkdir -p "$GF_PATHS_PROVISIONING/datasources"              "$GF_PATHS_PROVISIONING/dashboards"              "$GF_PATHS_PROVISIONING/notifiers"              "$GF_PATHS_PROVISIONING/plugins"              "$GF_PATHS_PROVISIONING/access-control"              "$GF_PATHS_PROVISIONING/alerting"              "$GF_PATHS_LOGS"              "$GF_PATHS_PLUGINS"              "$GF_PATHS_DATA" &&     cp conf/sample.ini "$GF_PATHS_CONFIG" &&     cp conf/ldap.toml /etc/grafana/ldap.toml &&     chown -R "grafana:$GF_GID_NAME" "$GF_PATHS_DATA" "$GF_PATHS_HOME/.aws" "$GF_PATHS_LOGS" "$GF_PATHS_PLUGINS" "$GF_PATHS_PROVISIONING" &&     chmod -R 777 "$GF_PATHS_DATA" "$GF_PATHS_HOME/.aws" "$GF_PATHS_LOGS" "$GF_PATHS_PLUGINS" "$GF_PATHS_PROVISIONING" # buildkit
                        
# 2024-09-26 16:10:15  179.59KB 复制新文件或目录到容器中
COPY /tmp/grafana/conf ./conf # buildkit
                        
# 2024-09-26 16:10:15  0.00B 执行命令并创建新的镜像层
RUN |2 GF_UID=472 GF_GID=0 /bin/sh -c if grep -i -q alpine /etc/issue && [ `arch` = "x86_64" ]; then       wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub &&       wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-2.35-r0.apk         -O /tmp/glibc-2.35-r0.apk &&       wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-bin-2.35-r0.apk         -O /tmp/glibc-bin-2.35-r0.apk &&       apk add --force-overwrite --no-cache /tmp/glibc-2.35-r0.apk /tmp/glibc-bin-2.35-r0.apk &&       rm -f /lib64/ld-linux-x86-64.so.2 &&       ln -s /usr/glibc-compat/lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2 &&       rm -f /tmp/glibc-2.35-r0.apk &&       rm -f /tmp/glibc-bin-2.35-r0.apk &&       rm -f /lib/ld-linux-x86-64.so.2 &&       rm -f /etc/ld.so.cache;     fi # buildkit
                        
# 2024-09-26 16:10:13  11.07MB 执行命令并创建新的镜像层
RUN |2 GF_UID=472 GF_GID=0 /bin/sh -c if grep -i -q alpine /etc/issue; then       apk add --no-cache ca-certificates bash curl tzdata musl-utils &&       apk info -vv | sort;     elif grep -i -q ubuntu /etc/issue; then       DEBIAN_FRONTEND=noninteractive &&       apt-get update &&       apt-get install -y ca-certificates curl tzdata musl &&       apt-get autoremove -y &&       rm -rf /var/lib/apt/lists/*;     else       echo 'ERROR: Unsupported base image' && /bin/false;     fi # buildkit
                        
# 2024-09-26 16:10:03  0.00B 设置工作目录为/usr/share/grafana
WORKDIR /usr/share/grafana
                        
# 2024-09-26 16:10:03  0.00B 设置环境变量 PATH GF_PATHS_CONFIG GF_PATHS_DATA GF_PATHS_HOME GF_PATHS_LOGS GF_PATHS_PLUGINS GF_PATHS_PROVISIONING
ENV PATH=/usr/share/grafana/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GF_PATHS_CONFIG=/etc/grafana/grafana.ini GF_PATHS_DATA=/var/lib/grafana GF_PATHS_HOME=/usr/share/grafana GF_PATHS_LOGS=/var/log/grafana GF_PATHS_PLUGINS=/var/lib/grafana/plugins GF_PATHS_PROVISIONING=/etc/grafana/provisioning
                        
# 2024-09-26 16:10:03  0.00B 定义构建参数
ARG GF_GID=0
                        
# 2024-09-26 16:10:03  0.00B 定义构建参数
ARG GF_UID=472
                        
# 2024-09-26 16:10:03  0.00B 添加元数据标签
LABEL maintainer=Grafana Labs <hello@grafana.com>
                        
# 2024-09-12 00:25:18  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-09-12 00:25:17  77.86MB 
/bin/sh -c #(nop) ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in / 
                        
# 2024-09-12 00:25:16  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2024-09-12 00:25:16  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-09-12 00:25:16  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-09-12 00:25:16  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:a6bbda1fd311a5fe8b91fe23086d6f3f62473d4f28be10bcd79370718c7f1349",
    "RepoTags": [
        "grafana/grafana:main-ubuntu",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/grafana:main-ubuntu"
    ],
    "RepoDigests": [
        "grafana/grafana@sha256:33113d5aba8d51861cc74207bc4883b1ab84c50a88faea0cd4e4263af227b65b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/grafana@sha256:ce9f93025d909d842848cd22c1f5d4e087e515d13f9b92004972b42266ff6e0c"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-09-26T08:10:17.792146468Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "472",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "3000/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/share/grafana/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "GF_PATHS_CONFIG=/etc/grafana/grafana.ini",
            "GF_PATHS_DATA=/var/lib/grafana",
            "GF_PATHS_HOME=/usr/share/grafana",
            "GF_PATHS_LOGS=/var/log/grafana",
            "GF_PATHS_PLUGINS=/var/lib/grafana/plugins",
            "GF_PATHS_PROVISIONING=/etc/grafana/provisioning"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/usr/share/grafana",
        "Entrypoint": [
            "/run.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "Grafana Labs \u003chello@grafana.com\u003e",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 560673693,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3f46ee4fa1c56b309aa7b2388ad2f7a07efd87b1ec92cc1f5dab813dc3c2061b/diff:/var/lib/docker/overlay2/84b6e9f448ba2b37ad756f307afe4b9718daa3b92e290f8fbe82d438cb27f7b3/diff:/var/lib/docker/overlay2/020e2c36ddec3513cf0759ff41583320b53323635ed2fe9029927197707cba14/diff:/var/lib/docker/overlay2/eb1df2c4eb0d361c981dee3d94f82e73f82834f1043ea1b6252ca31f09dc0ef8/diff:/var/lib/docker/overlay2/0015bc99cf0d0210e5364fc1842bbf929aaf313734c17f39550ad855a233a908/diff:/var/lib/docker/overlay2/f4c70f539af47d16f7b371a56d58de5e24382233cae0574a0c9dcfe3bcd8f4b4/diff:/var/lib/docker/overlay2/bf2d486a14e2d32fec1e7960d685889e0b31c5558c61afc9f08975679dadf268/diff:/var/lib/docker/overlay2/06bd0171430d06a3a13b68261f742470c02e5004b74fb8b86f2e97bd39b0396b/diff:/var/lib/docker/overlay2/4cfb2ff6eb670d08d805fcc326973c76acabc424b2f6ce5f1903149f34750452/diff",
            "MergedDir": "/var/lib/docker/overlay2/5e5f9ca09300b91b888585309cf16b5de42a3804abcb3dffadfc38644bb86223/merged",
            "UpperDir": "/var/lib/docker/overlay2/5e5f9ca09300b91b888585309cf16b5de42a3804abcb3dffadfc38644bb86223/diff",
            "WorkDir": "/var/lib/docker/overlay2/5e5f9ca09300b91b888585309cf16b5de42a3804abcb3dffadfc38644bb86223/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2573e0d8158209ed54ab25c87bcdcb00bd3d2539246960a3d592a1c599d70465",
            "sha256:b3d4b91fe3d2f84e44bc18e51b4145fd936f9b30e10b17f47fd365d480e005a2",
            "sha256:4eadcdaf82c560440d3d223e613078b68c61cbe54af2230fa38fd5dec75c55e3",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:fe78a2c1cabbd08793bea3c5118aa5846f96d5c9060a46d25fb5ecc5fcb1d58a",
            "sha256:a285b05347640025d22899175033f4a69a3d7eecf71cfc69cdddaa7f8addc27c",
            "sha256:d20b80156e6defa278d5de5024e4539fe036a6a7c5ccfe821495585e7485b0a2",
            "sha256:0a7eb5e24b8899e1e06ee8a3b6f6dc9a7499a60a7c84c0e043cea57400a6435b",
            "sha256:7c1c04d136ae6ed19bfa5ad696b6c56a9905281390cfabc3497a0e8fb977f9f5",
            "sha256:4fc71f395d5d1835fcebb9a8a64c9ac79a3c78f2d6902aaaa49433e7f6072b07"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-26T16:25:24.65372058+08:00"
    }
}

更多版本

docker.io/grafana/grafana:8.3.3

linux/amd64 docker.io274.81MB2024-06-07 11:25
393

docker.io/grafana/grafana:8.5.5

linux/amd64 docker.io286.33MB2024-06-18 21:05
582

docker.io/grafana/grafana:11.0.0

linux/amd64 docker.io442.82MB2024-06-20 08:58
993

docker.io/grafana/grafana-oss:11.1.0-ubuntu

linux/amd64 docker.io517.11MB2024-07-04 16:38
330

docker.io/grafana/grafana:9.5.3

linux/amd64 docker.io309.49MB2024-07-06 16:19
515

docker.io/grafana/grafana:11.1.0

linux/amd64 docker.io452.65MB2024-07-08 15:25
305

docker.io/grafana/grafana-oss:11.1.0

linux/amd64 docker.io452.65MB2024-07-10 17:43
329

docker.io/grafana/grafana:7.0.1

linux/amd64 docker.io158.10MB2024-07-26 14:50
176

docker.io/grafana/grafana:6.4.4

linux/amd64 docker.io207.41MB2024-08-06 13:36
209

docker.io/grafana/grafana:11.1.3

linux/amd64 docker.io452.87MB2024-08-08 15:49
379

docker.io/grafana/grafana:9.3.11

linux/amd64 docker.io262.41MB2024-08-09 10:07
435

docker.io/grafana/grafana:10.1.2

linux/arm64 docker.io381.18MB2024-08-14 17:38
188

docker.io/grafana/grafana:9.5.12

linux/amd64 docker.io317.92MB2024-08-20 14:15
273

docker.io/grafana/grafana:11.1.4

linux/amd64 docker.io452.88MB2024-08-21 13:54
195

docker.io/grafana/grafana:10.3.4

linux/amd64 docker.io406.59MB2024-08-23 11:24
159

docker.io/grafana/grafana-oss:11.1.5

linux/arm64 docker.io442.49MB2024-09-02 14:24
317

docker.io/grafana/grafana:11.2.0

linux/amd64 docker.io478.05MB2024-09-06 01:22
497

docker.io/grafana/grafana:latest

linux/amd64 docker.io478.05MB2024-09-21 10:14
582

docker.io/grafana/grafana:7.5.11

linux/amd64 docker.io202.14MB2024-09-24 17:19
313

docker.io/grafana/grafana:11.1.5

linux/amd64 docker.io452.89MB2024-09-24 20:52
183

docker.io/grafana/grafana-oss:10.1.2

linux/amd64 docker.io391.26MB2024-09-26 14:12
139

docker.io/grafana/grafana:main-ubuntu

linux/amd64 docker.io560.67MB2024-09-26 16:25
218

docker.io/grafana/grafana:11.2.1

linux/amd64 docker.io477.56MB2024-10-02 17:34
177

docker.io/grafana/grafana:10.0.1

linux/amd64 docker.io328.44MB2024-10-07 22:40
97

docker.io/grafana/grafana-image-renderer:3.11.5

linux/amd64 docker.io1.18GB2024-10-09 10:51
282

docker.io/grafana/grafana:11.2.2-security-01

linux/amd64 docker.io461.26MB2024-10-24 19:57
249

docker.io/grafana/grafana:11.0.1

linux/amd64 docker.io444.91MB2024-10-30 10:49
149

docker.io/grafana/grafana:9.5.2

linux/arm64 docker.io297.49MB2024-11-01 08:45
106

docker.io/grafana/grafana:9.5.3

linux/arm64 docker.io297.49MB2024-11-01 10:34
294

docker.io/grafana/grafana:11.3.0

linux/amd64 docker.io485.02MB2024-11-05 12:14
111

docker.io/grafana/grafana:10.1.5

linux/arm64 docker.io381.39MB2024-11-06 21:29
82

docker.io/grafana/grafana:6.0.1

linux/amd64 docker.io241.03MB2024-11-07 15:04
70

docker.io/grafana/grafana:9.3.2

linux/amd64 docker.io316.87MB2024-11-10 22:14
58

docker.io/grafana/grafana-enterprise:11.3.0-ubuntu

linux/amd64 docker.io569.23MB2024-11-11 15:14
68

docker.io/grafana/grafana:8.2.0

linux/amd64 docker.io248.78MB2024-11-11 17:32
56

docker.io/grafana/grafana:10.3.3

linux/amd64 docker.io406.42MB2024-11-12 09:39
79

docker.io/grafana/grafana:9.2.5

linux/amd64 docker.io341.98MB2024-11-12 10:17
65

docker.io/grafana/grafana:10.4.2

linux/amd64 docker.io429.26MB2024-11-15 14:56
80

docker.io/grafana/grafana:10.2.2

linux/amd64 docker.io399.10MB2024-11-15 16:22
65

docker.io/grafana/grafana:9.4.7

linux/amd64 docker.io329.17MB2024-11-18 09:30
54

docker.io/grafana/grafana:9.5.20

linux/amd64 docker.io323.36MB2024-11-19 11:09
79

docker.io/grafana/grafana:11.3.1

linux/amd64 docker.io485.00MB2024-11-25 19:45
89

docker.io/grafana/grafana:9.4.3

linux/amd64 docker.io328.70MB2024-11-29 16:31
55

docker.io/grafana/grafana:11.4.0

linux/amd64 docker.io485.63MB2024-12-06 17:11
126

docker.io/grafana/grafana:11.4.0-ubuntu

linux/amd64 docker.io549.47MB2024-12-09 23:00
71

docker.io/grafana/grafana:10.4.14

linux/amd64 docker.io432.61MB2024-12-12 17:48
53

docker.io/grafana/grafana:8.3.5

linux/amd64 docker.io273.53MB2024-12-21 18:01
72

docker.io/grafana/grafana:11.2.5

linux/arm64 docker.io454.86MB2025-01-15 14:13
16

docker.io/grafana/grafana:11.2.5

linux/amd64 docker.io461.58MB2025-01-15 14:18
22