ghcr.io/mermaid-js/mermaid-live-editor:latest linux/amd64

ghcr.io/mermaid-js/mermaid-live-editor:latest - 国内下载镜像源 浏览次数:9

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

源镜像 ghcr.io/mermaid-js/mermaid-live-editor:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/mermaid-js/mermaid-live-editor:latest
镜像ID sha256:ec93245240b292a7f2d64760b48772a8d4cbd8c220c383445e9930ee14c7fcb1
镜像TAG latest
大小 63.85MB
镜像源 ghcr.io
CMD nginx -g daemon off;
启动入口 /docker-entrypoint.sh
工作目录 /
OS/平台 linux/amd64
浏览量 9 次
贡献者 12*******5@qq.com
镜像创建 2025-10-15T10:36:57.601976489Z
同步时间 2026-01-12 09:53
更新时间 2026-01-12 12:36
开放端口
80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NGINX_VERSION=1.28.0 PKG_RELEASE=1 DYNPKG_RELEASE=1 NJS_VERSION=0.8.10 NJS_RELEASE=1
镜像标签
NGINX Docker Maintainers <docker-maint@nginx.com>: maintainer 2025-10-15T10:35:12.867Z: org.opencontainers.image.created Edit, preview and share mermaid charts/diagrams. New implementation of the live editor.: org.opencontainers.image.description MIT: org.opencontainers.image.licenses 98cfe88d9ce548716816039e1c97532aa6f5511a: org.opencontainers.image.revision https://github.com/mermaid-js/mermaid-live-editor: org.opencontainers.image.source mermaid-live-editor: org.opencontainers.image.title https://github.com/mermaid-js/mermaid-live-editor: org.opencontainers.image.url latest: org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/mermaid-js/mermaid-live-editor:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/mermaid-js/mermaid-live-editor:latest  ghcr.io/mermaid-js/mermaid-live-editor:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/mermaid-js/mermaid-live-editor:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/mermaid-js/mermaid-live-editor:latest  ghcr.io/mermaid-js/mermaid-live-editor:latest

Shell快速替换命令

sed -i 's#ghcr.io/mermaid-js/mermaid-live-editor:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/mermaid-js/mermaid-live-editor:latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/mermaid-js/mermaid-live-editor:latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/mermaid-js/mermaid-live-editor:latest  ghcr.io/mermaid-js/mermaid-live-editor:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/mermaid-js/mermaid-live-editor:latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/mermaid-js/mermaid-live-editor:latest  ghcr.io/mermaid-js/mermaid-live-editor:latest'

镜像构建历史


# 2025-10-15 18:36:57  15.57MB 复制新文件或目录到容器中
COPY /app/docs /usr/share/nginx/html # buildkit
                        
# 2025-10-15 18:35:16  169.00B 复制新文件或目录到容器中
COPY ./nginx.conf /etc/nginx/conf.d/default.conf # buildkit
                        
# 2025-04-24 02:00:49  36.39MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -x     && apkArch="$(cat /etc/apk/arch)"     && nginxPackages="         nginx=${NGINX_VERSION}-r${PKG_RELEASE}         nginx-module-xslt=${NGINX_VERSION}-r${DYNPKG_RELEASE}         nginx-module-geoip=${NGINX_VERSION}-r${DYNPKG_RELEASE}         nginx-module-image-filter=${NGINX_VERSION}-r${DYNPKG_RELEASE}         nginx-module-njs=${NGINX_VERSION}.${NJS_VERSION}-r${NJS_RELEASE}     "     && apk add --no-cache --virtual .checksum-deps         openssl     && case "$apkArch" in         x86_64|aarch64)             apk add -X "https://nginx.org/packages/alpine/v$(egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release)/main" --no-cache $nginxPackages             ;;         *)             set -x             && tempDir="$(mktemp -d)"             && chown nobody:nobody $tempDir             && apk add --no-cache --virtual .build-deps                 gcc                 libc-dev                 make                 openssl-dev                 pcre2-dev                 zlib-dev                 linux-headers                 libxslt-dev                 gd-dev                 geoip-dev                 libedit-dev                 bash                 alpine-sdk                 findutils                 curl             && su nobody -s /bin/sh -c "                 export HOME=${tempDir}                 && cd ${tempDir}                 && curl -f -L -O https://github.com/nginx/pkg-oss/archive/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz                 && PKGOSSCHECKSUM=\"517bc18954ccf4efddd51986584ca1f37966833ad342a297e1fe58fd0faf14c5a4dabcb23519dca433878a2927a95d6bea05a6749ee2fa67a33bf24cdc41b1e4 *${NGINX_VERSION}-${PKG_RELEASE}.tar.gz\"                 && if [ \"\$(openssl sha512 -r ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz)\" = \"\$PKGOSSCHECKSUM\" ]; then                     echo \"pkg-oss tarball checksum verification succeeded!\";                 else                     echo \"pkg-oss tarball checksum verification failed!\";                     exit 1;                 fi                 && tar xzvf ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz                 && cd pkg-oss-${NGINX_VERSION}-${PKG_RELEASE}                 && cd alpine                 && make module-geoip module-image-filter module-njs module-xslt                 && apk index --allow-untrusted -o ${tempDir}/packages/alpine/${apkArch}/APKINDEX.tar.gz ${tempDir}/packages/alpine/${apkArch}/*.apk                 && abuild-sign -k ${tempDir}/.abuild/abuild-key.rsa ${tempDir}/packages/alpine/${apkArch}/APKINDEX.tar.gz                 "             && cp ${tempDir}/.abuild/abuild-key.rsa.pub /etc/apk/keys/             && apk del --no-network .build-deps             && apk add -X ${tempDir}/packages/alpine/ --no-cache $nginxPackages             ;;     esac     && apk del --no-network .checksum-deps     && if [ -n "$tempDir" ]; then rm -rf "$tempDir"; fi     && if [ -f "/etc/apk/keys/abuild-key.rsa.pub" ]; then rm -f /etc/apk/keys/abuild-key.rsa.pub; fi     && apk add --no-cache curl ca-certificates # buildkit
                        
# 2025-04-24 02:00:49  0.00B 设置环境变量 NJS_RELEASE
ENV NJS_RELEASE=1
                        
# 2025-04-24 02:00:49  0.00B 设置环境变量 NJS_VERSION
ENV NJS_VERSION=0.8.10
                        
# 2025-04-24 02:00:49  0.00B 设置默认要执行的命令
CMD ["nginx" "-g" "daemon off;"]
                        
# 2025-04-24 02:00:49  0.00B 设置停止容器时发送的系统调用信号
STOPSIGNAL SIGQUIT
                        
# 2025-04-24 02:00:49  0.00B 声明容器运行时监听的端口
EXPOSE map[80/tcp:{}]
                        
# 2025-04-24 02:00:49  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/docker-entrypoint.sh"]
                        
# 2025-04-24 02:00:49  4.62KB 复制新文件或目录到容器中
COPY 30-tune-worker-processes.sh /docker-entrypoint.d # buildkit
                        
# 2025-04-24 02:00:49  3.02KB 复制新文件或目录到容器中
COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
                        
# 2025-04-24 02:00:49  389.00B 复制新文件或目录到容器中
COPY 15-local-resolvers.envsh /docker-entrypoint.d # buildkit
                        
# 2025-04-24 02:00:49  2.12KB 复制新文件或目录到容器中
COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
                        
# 2025-04-24 02:00:49  1.62KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh / # buildkit
                        
# 2025-04-24 02:00:49  4.05MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -x     && addgroup -g 101 -S nginx     && adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx     && apkArch="$(cat /etc/apk/arch)"     && nginxPackages="         nginx=${NGINX_VERSION}-r${PKG_RELEASE}     "     && apk add --no-cache --virtual .checksum-deps         openssl     && case "$apkArch" in         x86_64|aarch64)             set -x             && KEY_SHA512="e09fa32f0a0eab2b879ccbbc4d0e4fb9751486eedda75e35fac65802cc9faa266425edf83e261137a2f4d16281ce2c1a5f4502930fe75154723da014214f0655"             && wget -O /tmp/nginx_signing.rsa.pub https://nginx.org/keys/nginx_signing.rsa.pub             && if echo "$KEY_SHA512 */tmp/nginx_signing.rsa.pub" | sha512sum -c -; then                 echo "key verification succeeded!";                 mv /tmp/nginx_signing.rsa.pub /etc/apk/keys/;             else                 echo "key verification failed!";                 exit 1;             fi             && apk add -X "https://nginx.org/packages/alpine/v$(egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release)/main" --no-cache $nginxPackages             ;;         *)             set -x             && tempDir="$(mktemp -d)"             && chown nobody:nobody $tempDir             && apk add --no-cache --virtual .build-deps                 gcc                 libc-dev                 make                 openssl-dev                 pcre2-dev                 zlib-dev                 linux-headers                 bash                 alpine-sdk                 findutils                 curl             && su nobody -s /bin/sh -c "                 export HOME=${tempDir}                 && cd ${tempDir}                 && curl -f -L -O https://github.com/nginx/pkg-oss/archive/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz                 && PKGOSSCHECKSUM=\"517bc18954ccf4efddd51986584ca1f37966833ad342a297e1fe58fd0faf14c5a4dabcb23519dca433878a2927a95d6bea05a6749ee2fa67a33bf24cdc41b1e4 *${NGINX_VERSION}-${PKG_RELEASE}.tar.gz\"                 && if [ \"\$(openssl sha512 -r ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz)\" = \"\$PKGOSSCHECKSUM\" ]; then                     echo \"pkg-oss tarball checksum verification succeeded!\";                 else                     echo \"pkg-oss tarball checksum verification failed!\";                     exit 1;                 fi                 && tar xzvf ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz                 && cd pkg-oss-${NGINX_VERSION}-${PKG_RELEASE}                 && cd alpine                 && make base                 && apk index --allow-untrusted -o ${tempDir}/packages/alpine/${apkArch}/APKINDEX.tar.gz ${tempDir}/packages/alpine/${apkArch}/*.apk                 && abuild-sign -k ${tempDir}/.abuild/abuild-key.rsa ${tempDir}/packages/alpine/${apkArch}/APKINDEX.tar.gz                 "             && cp ${tempDir}/.abuild/abuild-key.rsa.pub /etc/apk/keys/             && apk del --no-network .build-deps             && apk add -X ${tempDir}/packages/alpine/ --no-cache $nginxPackages             ;;     esac     && apk del --no-network .checksum-deps     && if [ -n "$tempDir" ]; then rm -rf "$tempDir"; fi     && if [ -f "/etc/apk/keys/abuild-key.rsa.pub" ]; then rm -f /etc/apk/keys/abuild-key.rsa.pub; fi     && apk add --no-cache gettext-envsubst     && apk add --no-cache tzdata     && ln -sf /dev/stdout /var/log/nginx/access.log     && ln -sf /dev/stderr /var/log/nginx/error.log     && mkdir /docker-entrypoint.d # buildkit
                        
# 2025-04-24 02:00:49  0.00B 设置环境变量 DYNPKG_RELEASE
ENV DYNPKG_RELEASE=1
                        
# 2025-04-24 02:00:49  0.00B 设置环境变量 PKG_RELEASE
ENV PKG_RELEASE=1
                        
# 2025-04-24 02:00:49  0.00B 设置环境变量 NGINX_VERSION
ENV NGINX_VERSION=1.28.0
                        
# 2025-04-24 02:00:49  0.00B 添加元数据标签
LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
                        
# 2025-04-24 02:00:49  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2025-04-24 02:00:49  7.83MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.21.5-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:ec93245240b292a7f2d64760b48772a8d4cbd8c220c383445e9930ee14c7fcb1",
    "RepoTags": [
        "ghcr.io/mermaid-js/mermaid-live-editor:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/mermaid-js/mermaid-live-editor:latest"
    ],
    "RepoDigests": [
        "ghcr.io/mermaid-js/mermaid-live-editor@sha256:396e4a1d5913cd906dc59e59d83c0eb322a5dd2aa2f5763af664a01bfe0bcf92",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/mermaid-js/mermaid-live-editor@sha256:a9b5ee750ec2264d0d89c93c3d451475fc0d7376965f9dd90e37833d1421e6ff"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-10-15T10:36:57.601976489Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "80/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NGINX_VERSION=1.28.0",
            "PKG_RELEASE=1",
            "DYNPKG_RELEASE=1",
            "NJS_VERSION=0.8.10",
            "NJS_RELEASE=1"
        ],
        "Cmd": [
            "nginx",
            "-g",
            "daemon off;"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": [
            "/docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "NGINX Docker Maintainers \u003cdocker-maint@nginx.com\u003e",
            "org.opencontainers.image.created": "2025-10-15T10:35:12.867Z",
            "org.opencontainers.image.description": "Edit, preview and share mermaid charts/diagrams. New implementation of the live editor.",
            "org.opencontainers.image.licenses": "MIT",
            "org.opencontainers.image.revision": "98cfe88d9ce548716816039e1c97532aa6f5511a",
            "org.opencontainers.image.source": "https://github.com/mermaid-js/mermaid-live-editor",
            "org.opencontainers.image.title": "mermaid-live-editor",
            "org.opencontainers.image.url": "https://github.com/mermaid-js/mermaid-live-editor",
            "org.opencontainers.image.version": "latest"
        },
        "StopSignal": "SIGQUIT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 63854396,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/17482de024a9a4d1926b1964e8c88013145ed25839376d3a10e7aa7854e932ed/diff:/var/lib/docker/overlay2/1e63ce4215ce80349fde39b585e193c472344a56c85c1e3f4c85625180c10db5/diff:/var/lib/docker/overlay2/0a573910e9908e89dc205ae1cb37754da88371e5929555725ae6745510c4427f/diff:/var/lib/docker/overlay2/ffa065d4d1e80aaf6fc26fb520d4a814d3d1e415b4833f1003c6f49cffacf681/diff:/var/lib/docker/overlay2/59e34db48e3c29b6b4fd97d7c8e2079f4b5390eab7910d61fcc5b993dd7eb60c/diff:/var/lib/docker/overlay2/0d46b7f46e8c5f72e5f416f2e4f8305c703030c6e0fc0c8c6dfb4902225aefa6/diff:/var/lib/docker/overlay2/4cb7d7d50ab162db31bda8c760c1c62ee551cef0583b46e8ea299150f6411dfa/diff:/var/lib/docker/overlay2/b3a7433260d6f55d17fa41d010c99f7756a15ef42c1924f5cbc8d1c8f08d1ec8/diff:/var/lib/docker/overlay2/14e8c666d918e7603b93e09a5088443da9ef63e7ca5bccee76b97634e4e3ee5b/diff",
            "MergedDir": "/var/lib/docker/overlay2/b227fb48a7152400d070c5abbdd95ad45877b9d8cf6d14551ba64d7b1092b716/merged",
            "UpperDir": "/var/lib/docker/overlay2/b227fb48a7152400d070c5abbdd95ad45877b9d8cf6d14551ba64d7b1092b716/diff",
            "WorkDir": "/var/lib/docker/overlay2/b227fb48a7152400d070c5abbdd95ad45877b9d8cf6d14551ba64d7b1092b716/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:922ec217407c0fd31cb18b46090bf62e439fb53ecd01f09406d62e25a906e09b",
            "sha256:412e147b334cddb83eedf352f7f2ea40844abceb3614a5d9c9726d076e5c3b6f",
            "sha256:570a1c87f279a67fc5509cf76c4b57cf722c8de9f9cdaa214c787d0fb0e1e7a5",
            "sha256:34034c5235653389adbf8982e9fc868561e62e5d88c58c878331ed89abfd1a6f",
            "sha256:7d9abb9ab3b7a473c37818aee5eb0f4637716ef9d8b28989ebab09d29f987246",
            "sha256:5f23a9cf34f1103f7564dfb3f036e877efedde5372cb2190285418008372fdde",
            "sha256:a231a657395e32fc50a9dd243cbf8476a246468d0faf68dacfd9a9a1befbb456",
            "sha256:90ec271303985395afe0c2966824bb392d291365e94b87df2c4582c30b0bc18a",
            "sha256:0dbfa5f4957874a3a78fb4a0298c77ad05d58347defcc0bd5d92bdbf8a47d1f5",
            "sha256:7c2dccc704dd3231a3fa0928bbb6e4fdd8c9573fbaf0dca9d480763d6032c6e4"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-01-12T09:53:21.134650513+08:00"
    }
}

更多版本

ghcr.io/mermaid-js/mermaid-live-editor:latest

linux/amd64 ghcr.io63.85MB2026-01-12 09:53
8