docker.io/sonicorg/sonic-server-base:v1.0.2 linux/amd64

docker.io/sonicorg/sonic-server-base:v1.0.2 - 国内下载镜像源 浏览次数:29
```html

这是一个Sonic-server的基础镜像,由Sonic组织维护。它提供了一个用于运行Sonic服务器的预配置环境,包含必要的依赖项和工具,方便用户快速部署和运行Sonic服务器。

```
源镜像 docker.io/sonicorg/sonic-server-base:v1.0.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonicorg/sonic-server-base:v1.0.2
镜像ID sha256:437d30a2a0ec684b200abf2ad28f19eec702e3bce8c33f2a2826bc154cff1f32
镜像TAG v1.0.2
大小 407.01MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD jshell
启动入口 /__cacert_entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 29 次
贡献者 11*******7@qq.com
镜像创建 2024-02-26T02:11:45.778510191Z
同步时间 2024-12-26 18:44
更新时间 2025-01-06 23:40
环境变量
PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin JAVA_HOME=/opt/java/openjdk LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 JAVA_VERSION=jdk-17.0.10+7
镜像标签
ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 22.04 扫描引擎: Trivy 扫描时间: 2024-12-26 18:46

低危漏洞:80 中危漏洞:84 高危漏洞:0 严重漏洞:0

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonicorg/sonic-server-base:v1.0.2
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonicorg/sonic-server-base:v1.0.2  docker.io/sonicorg/sonic-server-base:v1.0.2

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonicorg/sonic-server-base:v1.0.2
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonicorg/sonic-server-base:v1.0.2  docker.io/sonicorg/sonic-server-base:v1.0.2

Shell快速替换命令

sed -i 's#sonicorg/sonic-server-base:v1.0.2#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonicorg/sonic-server-base:v1.0.2#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonicorg/sonic-server-base:v1.0.2 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonicorg/sonic-server-base:v1.0.2  docker.io/sonicorg/sonic-server-base:v1.0.2'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonicorg/sonic-server-base:v1.0.2 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonicorg/sonic-server-base:v1.0.2  docker.io/sonicorg/sonic-server-base:v1.0.2'

镜像构建历史


# 2024-02-26 10:11:45  33.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime # buildkit
                        
# 2024-02-16 09:40:39  0.00B 
/bin/sh -c #(nop)  CMD ["jshell"]
                        
# 2024-02-16 09:40:39  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["/__cacert_entrypoint.sh"]
                        
# 2024-02-16 09:40:39  1.18KB 
/bin/sh -c #(nop) COPY file:8b8864b3e02a33a579dc216fd51b28a6047bc8eeaa03045b258980fe0cf7fcb3 in /__cacert_entrypoint.sh 
                        
# 2024-02-16 09:40:38  0.00B 
/bin/sh -c set -eux;     echo "Verifying install ...";     fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java;     echo "javac --version"; javac --version;     echo "java --version"; java --version;     echo "Complete."
                        
# 2024-02-16 09:40:36  279.13MB 
/bin/sh -c set -eux;     ARCH="$(dpkg --print-architecture)";     case "${ARCH}" in        aarch64|arm64)          ESUM='6e4201abfb3b020c1fb899b7ac063083c271250bf081f3aa7e63d91291a90b74';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.10_7.tar.gz';          ;;        amd64|i386:x86-64)          ESUM='a8fd07e1e97352e97e330beb20f1c6b351ba064ca7878e974c7d68b8a5c1b378';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jdk_x64_linux_hotspot_17.0.10_7.tar.gz';          ;;        armhf|arm)          ESUM='9bb8ccb9993f85d07ca3d834354ce426857793262bea8dab861b0aebb152d89c';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jdk_arm_linux_hotspot_17.0.10_7.tar.gz';          ;;        ppc64el|powerpc:common64)          ESUM='f5fc5c9273b722ad73241a5e84feb4eba21697a57ba718dd16cfbddda45a6a4b';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.10_7.tar.gz';          ;;        s390x|s390:64-bit)          ESUM='691f625edd425022500eea3b41ec6137fa078dab15632fda42de04f804079774';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.10%2B7/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.10_7.tar.gz';          ;;        *)          echo "Unsupported arch: ${ARCH}";          exit 1;          ;;     esac;     wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL};     echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -;     mkdir -p "$JAVA_HOME";     tar --extract         --file /tmp/openjdk.tar.gz         --directory "$JAVA_HOME"         --strip-components 1         --no-same-owner     ;     rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip;     find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf;     ldconfig;     java -Xshare:dump;
                        
# 2024-02-16 09:40:28  0.00B 
/bin/sh -c #(nop)  ENV JAVA_VERSION=jdk-17.0.10+7
                        
# 2024-02-16 09:40:28  50.03MB 
/bin/sh -c set -eux;     apt-get update;     DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends         curl         wget         fontconfig         ca-certificates p11-kit         binutils         tzdata         locales     ;     echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen;     locale-gen en_US.UTF-8;     rm -rf /var/lib/apt/lists/*
                        
# 2024-02-16 09:38:22  0.00B 
/bin/sh -c #(nop)  ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
                        
# 2024-02-16 09:38:22  0.00B 
/bin/sh -c #(nop)  ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-02-16 09:38:22  0.00B 
/bin/sh -c #(nop)  ENV JAVA_HOME=/opt/java/openjdk
                        
# 2024-02-13 18:06:28  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-02-13 18:06:28  77.86MB 
/bin/sh -c #(nop) ADD file:7f9a3c5a4231ed19174c21d17ce05d84d568cff6d3a0c2a1d7c3a9be5e45c02c in / 
                        
# 2024-02-13 18:06:26  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2024-02-13 18:06:26  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-02-13 18:06:26  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-02-13 18:06:26  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:437d30a2a0ec684b200abf2ad28f19eec702e3bce8c33f2a2826bc154cff1f32",
    "RepoTags": [
        "sonicorg/sonic-server-base:v1.0.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonicorg/sonic-server-base:v1.0.2"
    ],
    "RepoDigests": [
        "sonicorg/sonic-server-base@sha256:44248ff4489828810cfb4fe3b72e8e9d460766566ad9d8f31243b397dc1a5b5a",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sonicorg/sonic-server-base@sha256:44248ff4489828810cfb4fe3b72e8e9d460766566ad9d8f31243b397dc1a5b5a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-02-26T02:11:45.778510191Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "JAVA_HOME=/opt/java/openjdk",
            "LANG=en_US.UTF-8",
            "LANGUAGE=en_US:en",
            "LC_ALL=en_US.UTF-8",
            "JAVA_VERSION=jdk-17.0.10+7"
        ],
        "Cmd": [
            "jshell"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/__cacert_entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 407010452,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/7d061ae9bafae36dafcc5646df3a4efba0e3e3ee4c9e89aefbc9b8d43f23fc54/diff:/var/lib/docker/overlay2/0119e4e613c624bebf18aaf3cd347bfae40dda688acc3e12503d033dc0a9079d/diff:/var/lib/docker/overlay2/482d537699f5eebdce30e7f196479df22d42c222315be78a9d7d77be679142f3/diff:/var/lib/docker/overlay2/83f782751163d4490fb3851940232c9cd66245e9d794874eae38f91c1ad4cda5/diff:/var/lib/docker/overlay2/4687bf1e9577fc41c8de0d43848ea637dab15b320f7aa396bd4623fd2122d4dc/diff",
            "MergedDir": "/var/lib/docker/overlay2/86442e69f28fda8f71e133bdf8a0f2e3c69dda5bf46f3abe1cae6bd5efd4f553/merged",
            "UpperDir": "/var/lib/docker/overlay2/86442e69f28fda8f71e133bdf8a0f2e3c69dda5bf46f3abe1cae6bd5efd4f553/diff",
            "WorkDir": "/var/lib/docker/overlay2/86442e69f28fda8f71e133bdf8a0f2e3c69dda5bf46f3abe1cae6bd5efd4f553/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:d101c9453715a978a2a520f553588e77dfb4236762175eba61c5c264a449c75d",
            "sha256:425d004af7ba3b8cc43b2bcffb94c709280b717bb032c721937433764149241c",
            "sha256:5bc86e618a6c69346f96c73068008bee6d3f921f62e59c37451b12e8da02746e",
            "sha256:6c804dddc7ac922a7ce173a14973cec50cd76d01a602c91c6ffc10f85eab9706",
            "sha256:c2fc9fe8dc06b206b3a23360c10a8b7b645fa8e16618a201e40608741e3bd7f5",
            "sha256:705ffbc4e7fa876df9e9c8a20c9219d7707a22095c34b6fd9005f99120ceeacb"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-26T18:44:26.028582943+08:00"
    }
}

更多版本

docker.io/sonicorg/sonic-server-base:v1.0.2

linux/amd64 docker.io407.01MB2024-12-26 18:44
28