ghcr.io/halo-dev/halo:2.20 linux/amd64

ghcr.io/halo-dev/halo:2.20 - 国内下载镜像源 浏览次数:19

ghcr.io/halo-dev/halo

这是一个名为 Halo 的 Docker 容器镜像,由 halo-dev 团队在 GitHub Container Registry (ghcr.io) 上发布。 您可以使用以下命令拉取该镜像: ```bash docker pull ghcr.io/halo-dev/halo ```
源镜像 ghcr.io/halo-dev/halo:2.20
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/halo-dev/halo:2.20
镜像ID sha256:700647c116d860fb323c213d74e70673a9d84bf60277406c95f9b47514b22e7c
镜像TAG 2.20
大小 418.31MB
镜像源 ghcr.io
CMD
启动入口 sh -c java ${JVM_OPTS} org.springframework.boot.loader.launch.JarLauncher ${0} ${@}
工作目录 /application
OS/平台 linux/amd64
浏览量 19 次
贡献者 ch*******i@qq.com
镜像创建 2024-11-11T22:47:36.513889521Z
同步时间 2024-11-14 10:48
更新时间 2024-11-21 16:17
开放端口
8090/tcp
环境变量
PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 JAVA_VERSION=jdk-21.0.4+7_openj9-0.46.1 JAVA_HOME=/opt/java/openjdk JAVA_TOOL_OPTIONS=-XX:+IgnoreUnrecognizedVMOptions -XX:+PortableSharedCache -XX:+IdleTuningGcOnIdle -Xshareclasses:name=openj9_system_scc,cacheDir=/opt/java/.scc,readonly,nonFatal JVM_OPTS=-Xmx256m -Xms256m HALO_WORK_DIR=/root/.halo2 SPRING_CONFIG_LOCATION=optional:classpath:/;optional:file:/root/.halo2/ TZ=Asia/Shanghai
镜像标签
johnniang <johnniang@foxmail.com>: maintainer 2024-11-11T22:46:59.471Z: org.opencontainers.image.created 强大易用的开源建站工具。: org.opencontainers.image.description GPL-3.0: org.opencontainers.image.licenses ubuntu: org.opencontainers.image.ref.name 06f3c289e8bae3c958fc4e4935ac4739aff1ac9c: org.opencontainers.image.revision https://github.com/halo-dev/halo: org.opencontainers.image.source halo: org.opencontainers.image.title https://github.com/halo-dev/halo: org.opencontainers.image.url 2: org.opencontainers.image.version

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/halo-dev/halo:2.20
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/halo-dev/halo:2.20  ghcr.io/halo-dev/halo:2.20

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/halo-dev/halo:2.20
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/halo-dev/halo:2.20  ghcr.io/halo-dev/halo:2.20

Shell快速替换命令

sed -i 's#ghcr.io/halo-dev/halo:2.20#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/halo-dev/halo:2.20#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/halo-dev/halo:2.20 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/halo-dev/halo:2.20  ghcr.io/halo-dev/halo:2.20'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/halo-dev/halo:2.20 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/halo-dev/halo:2.20  ghcr.io/halo-dev/halo:2.20'

镜像历史

大小 创建时间 层信息
0.00B 2024-11-12 06:47:36 ENTRYPOINT ["sh" "-c" "java ${JVM_OPTS} org.springframework.boot.loader.launch.JarLauncher ${0} ${@}"]
0.00B 2024-11-12 06:47:36 EXPOSE map[8090/tcp:{}]
47.00B 2024-11-12 06:47:36 RUN /bin/sh -c ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # buildkit
0.00B 2024-11-12 06:47:36 ENV JVM_OPTS=-Xmx256m -Xms256m HALO_WORK_DIR=/root/.halo2 SPRING_CONFIG_LOCATION=optional:classpath:/;optional:file:/root/.halo2/ TZ=Asia/Shanghai
19.55MB 2024-11-12 06:47:36 COPY application/application/ ./ # buildkit
0.00B 2024-11-12 06:47:36 COPY application/snapshot-dependencies/ ./ # buildkit
398.58KB 2024-11-12 06:47:36 COPY application/spring-boot-loader/ ./ # buildkit
97.24MB 2024-11-12 06:47:36 COPY application/dependencies/ ./ # buildkit
0.00B 2024-11-12 06:47:31 WORKDIR /application
0.00B 2024-11-12 06:47:31 LABEL maintainer=johnniang <johnniang@foxmail.com>
16.78MB 2024-10-11 23:41:33 RUN /bin/sh -c set -eux; unset OPENJ9_JAVA_OPTIONS; SCC_SIZE="50m"; DOWNLOAD_PATH_TOMCAT=/tmp/tomcat; INSTALL_PATH_TOMCAT=/opt/tomcat-home; TOMCAT_CHECKSUM="ef3ac81debbc3a519c43d1fdb1c88ab26a8052af424d81bceccfbd6e663050a06d7aad7960fd5d11c17849829daebbebf33d92ac1158902283d0e534514aab93"; TOMCAT_DWNLD_URL="https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.96/bin/apache-tomcat-9.0.96.tar.gz"; mkdir -p "${DOWNLOAD_PATH_TOMCAT}" "${INSTALL_PATH_TOMCAT}"; curl -LfsSo "${DOWNLOAD_PATH_TOMCAT}"/tomcat.tar.gz "${TOMCAT_DWNLD_URL}"; echo "${TOMCAT_CHECKSUM} *${DOWNLOAD_PATH_TOMCAT}/tomcat.tar.gz" | sha512sum -c -; tar -xf "${DOWNLOAD_PATH_TOMCAT}"/tomcat.tar.gz -C "${INSTALL_PATH_TOMCAT}" --strip-components=1; rm -rf "${DOWNLOAD_PATH_TOMCAT}"; java -Xshareclasses:name=dry_run_scc,cacheDir=/opt/java/.scc,bootClassesOnly,nonFatal,createLayer -Xscmx$SCC_SIZE -version; export OPENJ9_JAVA_OPTIONS="-XX:+IProfileDuringStartupPhase -Xshareclasses:name=dry_run_scc,cacheDir=/opt/java/.scc,bootClassesOnly,nonFatal"; "${INSTALL_PATH_TOMCAT}"/bin/startup.sh; sleep 5; "${INSTALL_PATH_TOMCAT}"/bin/shutdown.sh -force; sleep 15; FULL=$( (java -Xshareclasses:name=dry_run_scc,cacheDir=/opt/java/.scc,printallStats 2>&1 || true) | awk '/^Cache is [0-9.]*% .*full/ {print substr($3, 1, length($3)-1)}'); DST_CACHE=$(java -Xshareclasses:name=dry_run_scc,cacheDir=/opt/java/.scc,destroy 2>&1 || true); SCC_SIZE=$(echo $SCC_SIZE | sed 's/.$//'); SCC_SIZE=$(awk "BEGIN {print int($SCC_SIZE * $FULL / 100.0)}"); [ "${SCC_SIZE}" -eq 0 ] && SCC_SIZE=1; SCC_SIZE="${SCC_SIZE}m"; java -Xshareclasses:name=openj9_system_scc,cacheDir=/opt/java/.scc,bootClassesOnly,nonFatal,createLayer -Xscmx$SCC_SIZE -version; unset OPENJ9_JAVA_OPTIONS; export OPENJ9_JAVA_OPTIONS="-XX:+IProfileDuringStartupPhase -Xshareclasses:name=openj9_system_scc,cacheDir=/opt/java/.scc,bootClassesOnly,nonFatal"; "${INSTALL_PATH_TOMCAT}"/bin/startup.sh; sleep 5; "${INSTALL_PATH_TOMCAT}"/bin/shutdown.sh -force; sleep 5; FULL=$( (java -Xshareclasses:name=openj9_system_scc,cacheDir=/opt/java/.scc,printallStats 2>&1 || true) | awk '/^Cache is [0-9.]*% .*full/ {print substr($3, 1, length($3)-1)}'); echo "SCC layer is $FULL% full."; rm -rf "${INSTALL_PATH_TOMCAT}"; if [ -d "/opt/java/.scc" ]; then chmod -R 0777 /opt/java/.scc; fi; echo "SCC generation phase completed"; # buildkit
0.00B 2024-10-11 23:41:33 ENV JAVA_TOOL_OPTIONS=-XX:+IgnoreUnrecognizedVMOptions -XX:+PortableSharedCache -XX:+IdleTuningGcOnIdle -Xshareclasses:name=openj9_system_scc,cacheDir=/opt/java/.scc,readonly,nonFatal
0.00B 2024-10-11 23:41:33 ENV JAVA_HOME=/opt/java/openjdk PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
172.44MB 2024-10-11 23:41:33 RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='155a5f8d88f1b7bb018ffec077b430a90027172b6215cec90344a9b48180bfaf'; BINARY_URL='https://github.com/ibmruntimes/semeru21-binaries/releases/download/jdk-21.0.4%2B7_openj9-0.46.1/ibm-semeru-open-jre_aarch64_linux_21.0.4_7_openj9-0.46.1.tar.gz'; ;; amd64|x86_64) ESUM='19b64c4270450bdfc3c73af7a228defd2c326179dd2df8a0d419667515af86c7'; BINARY_URL='https://github.com/ibmruntimes/semeru21-binaries/releases/download/jdk-21.0.4%2B7_openj9-0.46.1/ibm-semeru-open-jre_x64_linux_21.0.4_7_openj9-0.46.1.tar.gz'; ;; ppc64el|ppc64le) ESUM='c45f1c0c6e12d1961979b362124fa59acb76a85c576e1cf9f2815500e429ef4e'; BINARY_URL='https://github.com/ibmruntimes/semeru21-binaries/releases/download/jdk-21.0.4%2B7_openj9-0.46.1/ibm-semeru-open-jre_ppc64le_linux_21.0.4_7_openj9-0.46.1.tar.gz'; ;; s390x) ESUM='58831bcdea5a88406c718c230e10cc3e8f7b8afe2475b981e4a7a8c28ebc7c77'; BINARY_URL='https://github.com/ibmruntimes/semeru21-binaries/releases/download/jdk-21.0.4%2B7_openj9-0.46.1/ibm-semeru-open-jre_s390x_linux_21.0.4_7_openj9-0.46.1.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; curl -LfsSo /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p /opt/java/openjdk; cd /opt/java/openjdk; tar -xf /tmp/openjdk.tar.gz --strip-components=1; rm -rf /tmp/openjdk.tar.gz; # buildkit
0.00B 2024-10-11 23:41:33 ENV JAVA_VERSION=jdk-21.0.4+7_openj9-0.46.1
34.04MB 2024-10-11 23:41:33 RUN /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen en_US.UTF-8 && rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2024-10-11 23:41:33 ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
0.00B 2024-09-12 00:25:18 /bin/sh -c #(nop) CMD ["/bin/bash"]
77.86MB 2024-09-12 00:25:17 /bin/sh -c #(nop) ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in /
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:700647c116d860fb323c213d74e70673a9d84bf60277406c95f9b47514b22e7c",
    "RepoTags": [
        "ghcr.io/halo-dev/halo:2.20",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/halo-dev/halo:2.20"
    ],
    "RepoDigests": [
        "ghcr.io/halo-dev/halo@sha256:6fbad1359cfe0cfb414ea50ce67e8e787a6b5910d4a99f37a36199ff21a2bcac",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/halo-dev/halo@sha256:6c629f6c98bb14cb85006c28f4e527e884a6551177469ccfa0c78714c1f9b554"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-11T22:47:36.513889521Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8090/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=en_US.UTF-8",
            "LANGUAGE=en_US:en",
            "LC_ALL=en_US.UTF-8",
            "JAVA_VERSION=jdk-21.0.4+7_openj9-0.46.1",
            "JAVA_HOME=/opt/java/openjdk",
            "JAVA_TOOL_OPTIONS=-XX:+IgnoreUnrecognizedVMOptions -XX:+PortableSharedCache -XX:+IdleTuningGcOnIdle -Xshareclasses:name=openj9_system_scc,cacheDir=/opt/java/.scc,readonly,nonFatal",
            "JVM_OPTS=-Xmx256m -Xms256m",
            "HALO_WORK_DIR=/root/.halo2",
            "SPRING_CONFIG_LOCATION=optional:classpath:/;optional:file:/root/.halo2/",
            "TZ=Asia/Shanghai"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/application",
        "Entrypoint": [
            "sh",
            "-c",
            "java ${JVM_OPTS} org.springframework.boot.loader.launch.JarLauncher ${0} ${@}"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "johnniang \u003cjohnniang@foxmail.com\u003e",
            "org.opencontainers.image.created": "2024-11-11T22:46:59.471Z",
            "org.opencontainers.image.description": "强大易用的开源建站工具。",
            "org.opencontainers.image.licenses": "GPL-3.0",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.revision": "06f3c289e8bae3c958fc4e4935ac4739aff1ac9c",
            "org.opencontainers.image.source": "https://github.com/halo-dev/halo",
            "org.opencontainers.image.title": "halo",
            "org.opencontainers.image.url": "https://github.com/halo-dev/halo",
            "org.opencontainers.image.version": "2"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 418305966,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/0d847dbddf021258194d1aa2fc5fdad49d6ebbb62517f3245da66c60bbdd078c/diff:/var/lib/docker/overlay2/7efcd807a239d3ade724617bf3b54b74a83b39ce859ea2126019d213ddc3e9af/diff:/var/lib/docker/overlay2/75b191009c738d65da8346063ea7c78fc006f893125cb5c3a835843ac924bb14/diff:/var/lib/docker/overlay2/941265f7de9a37470a5f0c9e3a2838bd23227db95eada6ad4c6b0611061d6c0f/diff:/var/lib/docker/overlay2/689f65d6b8903db35026dc25e22ec09852c63107735b5a2c95af3d467dec1a06/diff:/var/lib/docker/overlay2/6073953f6af358b55b702910af67793f1f28a063031627096a77731ed9fe0769/diff:/var/lib/docker/overlay2/bff002c3ffe3a55a8f02321e9c6ea33574635c9efc94416f2109e38991e41ede/diff:/var/lib/docker/overlay2/e8dfbef5f080c4ce69e552ff6993195c3df5b0c014a40fa153ca46765c37c3da/diff:/var/lib/docker/overlay2/4cfb2ff6eb670d08d805fcc326973c76acabc424b2f6ce5f1903149f34750452/diff",
            "MergedDir": "/var/lib/docker/overlay2/e9db396001a0f9c45162d2fab862c5ac9e837a489754cfd93241992bf28eb79e/merged",
            "UpperDir": "/var/lib/docker/overlay2/e9db396001a0f9c45162d2fab862c5ac9e837a489754cfd93241992bf28eb79e/diff",
            "WorkDir": "/var/lib/docker/overlay2/e9db396001a0f9c45162d2fab862c5ac9e837a489754cfd93241992bf28eb79e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2573e0d8158209ed54ab25c87bcdcb00bd3d2539246960a3d592a1c599d70465",
            "sha256:f8afb3801a0b6ffa16bbe6e41b4039404ffa9d186cda94e5a17c9116cdd8459f",
            "sha256:66eddfa453464abd5639a31a1f9e04ec5f2141038b9c544f0fbf60c34510ab80",
            "sha256:a70bb3e0ff243f8ecd8f42537d5eb62bdc591475d406d0013ca53bf9933667a9",
            "sha256:9bdc1508f21b25cc5e09f5329c9e33bc717ff2ed6b97dd14b9547b857c253232",
            "sha256:21ae056ec045926c6b298a81c92f260c8e750aa8beb1461ccff4f2db534592a0",
            "sha256:78a71d9f5af43373ab9c8695387d7ee73f70410959bd6fc712bedde5aa6379f7",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:698f1ca45ce7c0cd9c19d65e351f733353829737c698eb43665af76c1c276a34",
            "sha256:4df7600a8cd6d75fc8f9bb1f549c8b4a13076a5de0b4fe575cf16e2bf1572a55"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-14T10:48:18.507482053+08:00"
    }
}

更多版本

ghcr.io/halo-dev/halo:2.20

linux/amd64 ghcr.io418.31MB2024-11-14 10:48
18