logo
ghcr.io/niko1221/strata:0.2.21-cuda12
linux/amd64 ghcr.io 陶荣 贡献
17
浏览次数
3.52GB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/niko1221/strata:0.2.21-cuda12
源镜像
ghcr.io/niko1221/strata:0.2.21-cuda12
镜像ID
sha256:1e3b573566cae7def2c357bf30c5eede7f5fdfa7d2631de5bb7f337c49b6ca19
镜像 TAG
0.2.21-cuda12
镜像大小
3.52GB
平台架构
linux/amd64
镜像源
ghcr.io
CMD
run
启动入口
/usr/bin/tini -- /opt/strata/entrypoint.sh
工作目录
OS/平台
linux/amd64
镜像创建
2026-11-24T10:22:33.565705833Z
同步时间
2026-11-25 09:29
浏览量
17 次
贡献者
👑 avatar
陶荣 ⭐ 资助者
荣誉赞助人
感谢您对本项目的慷慨资助
🔌 开放端口 1
8080/tcp
📁 目录挂载 1
 /data
⚙️ 环境变量 14
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
DEBIAN_FRONTEND=noninteractive 1
STRATA_COMPONENTS_DIR=/opt/strata/components 2
STRATA_INSTALL_DIR=/data/install 3
XDG_STATE_HOME=/data/state 4
XDG_CONFIG_HOME=/data/config 5
HOME=/data/home 6
PORT=8080 7
LANG=C.UTF-8 8
PYTHONUNBUFFERED=1 9
PYTHONNOUSERSITE=1 10
STRATA_IN_DOCKER=1 11
NVIDIA_VISIBLE_DEVICES=all 12
NVIDIA_DRIVER_CAPABILITIES=compute,utility 13
🏷️ 镜像标签 9
KeyValue
0.1.67-linux-x86_64-cuda-cuda12 com.strata.engine
cuda com.strata.flavor
Strata local LLM server (Terminal + engine package), flavor cuda org.opencontainers.image.description
https://github.com/Niko1221/Strata/blob/main/docs/DOCKER.md org.opencontainers.image.documentation
see LICENSE org.opencontainers.image.licenses
https://github.com/Niko1221/Strata org.opencontainers.image.source
Strata org.opencontainers.image.title
https://github.com/Niko1221/Strata org.opencontainers.image.url
0.2.21 org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/niko1221/strata:0.2.21-cuda12
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/niko1221/strata:0.2.21-cuda12  ghcr.io/niko1221/strata:0.2.21-cuda12

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/niko1221/strata:0.2.21-cuda12
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/niko1221/strata:0.2.21-cuda12  ghcr.io/niko1221/strata:0.2.21-cuda12

Shell快速替换命令

sed -i 's#ghcr.io/niko1221/strata:0.2.21-cuda12#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/niko1221/strata:0.2.21-cuda12#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/niko1221/strata:0.2.21-cuda12 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/niko1221/strata:0.2.21-cuda12  ghcr.io/niko1221/strata:0.2.21-cuda12'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/niko1221/strata:0.2.21-cuda12 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/niko1221/strata:0.2.21-cuda12  ghcr.io/niko1221/strata:0.2.21-cuda12'

镜像构建历史


# 2026-11-24 18:22:33  0.00B 设置默认要执行的命令
CMD ["run"]
                        
# 2026-11-24 18:22:33  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/tini" "--" "/opt/strata/entrypoint.sh"]
                        
# 2026-11-24 18:22:33  0.00B 设置停止容器时发送的系统调用信号
STOPSIGNAL SIGTERM
                        
# 2026-11-24 18:22:33  0.00B 指定检查容器健康状态的命令
HEALTHCHECK &{["CMD" "/opt/strata/healthcheck.sh"] "30s" "8s" "2h0m0s" "0s" '\x03'}
                        
# 2026-11-24 18:22:33  0.00B 添加元数据标签
LABEL org.opencontainers.image.title=Strata org.opencontainers.image.source=https://github.com/Niko1221/Strata org.opencontainers.image.url=https://github.com/Niko1221/Strata org.opencontainers.image.documentation=https://github.com/Niko1221/Strata/blob/main/docs/DOCKER.md org.opencontainers.image.description=Strata local LLM server (Terminal + engine package), flavor cuda org.opencontainers.image.version=0.2.21 org.opencontainers.image.licenses=see LICENSE com.strata.flavor=cuda com.strata.engine=0.1.67-linux-x86_64-cuda-cuda12
                        
# 2026-11-24 18:22:33  0.00B 声明容器运行时监听的端口
EXPOSE map[8080/tcp:{}]
                        
# 2026-11-24 18:22:33  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data]
                        
# 2026-11-24 18:22:33  0.00B 设置环境变量 STRATA_COMPONENTS_DIR STRATA_INSTALL_DIR XDG_STATE_HOME XDG_CONFIG_HOME HOME PORT LANG PYTHONUNBUFFERED PYTHONNOUSERSITE STRATA_IN_DOCKER NVIDIA_VISIBLE_DEVICES NVIDIA_DRIVER_CAPABILITIES
ENV STRATA_COMPONENTS_DIR=/opt/strata/components STRATA_INSTALL_DIR=/data/install XDG_STATE_HOME=/data/state XDG_CONFIG_HOME=/data/config HOME=/data/home PORT=8080 LANG=C.UTF-8 PYTHONUNBUFFERED=1 PYTHONNOUSERSITE=1 STRATA_IN_DOCKER=1 NVIDIA_VISIBLE_DEVICES=all NVIDIA_DRIVER_CAPABILITIES=compute,utility
                        
# 2026-11-24 18:22:33  0.00B 执行命令并创建新的镜像层
RUN |3 FLAVOR=cuda STRATA_VERSION=0.2.21 ENGINE_LABEL=0.1.67-linux-x86_64-cuda-cuda12 /bin/sh -c set -e;     for d in /opt/strata/components/engine/*/ /opt/strata/components/shapes/*/engine/*/; do       [ -d "$d" ] || continue;       miss=$(find "$d" -type f \( -name 'strata*' -o -name '*.so' -o -name '*.so.*' \) ! -name '*.json' ! -name '*.txt' | while read -r f; do                head -c4 "$f" | grep -q ELF || continue;                LD_LIBRARY_PATH="$d" ldd "$f" 2>/dev/null | grep 'not found' | grep -v -E 'libcuda\.so|libnvidia|libnvcuvid|libze_intel_gpu|libhsa-runtime64|libdrm_amdgpu' | sed "s|^|$(basename "$f"): |";              done | sort -u);       if [ -n "$miss" ]; then echo "MISSING LIBRARIES in $d"; echo "$miss"; exit 1; fi;       echo "libraries of $d resolve inside this image";     done # buildkit
                        
# 2026-11-24 18:22:33  21.90KB 执行命令并创建新的镜像层
RUN |3 FLAVOR=cuda STRATA_VERSION=0.2.21 ENGINE_LABEL=0.1.67-linux-x86_64-cuda-cuda12 /bin/sh -c chmod 0755 /opt/strata/entrypoint.sh /opt/strata/healthcheck.sh /usr/local/bin/strata # buildkit
                        
# 2026-11-24 18:22:33  631.00B 复制新文件或目录到容器中
COPY docker/strata-wrapper.sh /usr/local/bin/strata # buildkit
                        
# 2026-11-24 18:22:33  21.27KB 复制新文件或目录到容器中
COPY docker/entrypoint.sh docker/healthcheck.sh /opt/strata/ # buildkit
                        
# 2026-11-24 18:22:33  1.85GB 复制新文件或目录到容器中
COPY /shapes/ /opt/strata/components/shapes/ # buildkit
                        
# 2026-11-24 18:22:25  1.25GB 复制新文件或目录到容器中
COPY /engine/ /opt/strata/components/engine/ # buildkit
                        
# 2026-11-24 18:22:01  330.01MB 复制新文件或目录到容器中
COPY /opt/strata/terminal /opt/strata/terminal # buildkit
                        
# 2026-11-24 18:21:00  4.25MB 执行命令并创建新的镜像层
RUN |3 FLAVOR=cuda STRATA_VERSION=0.2.21 ENGINE_LABEL=0.1.67-linux-x86_64-cuda-cuda12 /bin/sh -c set -e;     pkgs="tini ca-certificates libgomp1 libatomic1 libnuma1 zlib1g";     case "$FLAVOR" in       cuda) ;;       hip)  pkgs="$pkgs libdrm2 libdrm-amdgpu1 libelf1t64 libtinfo6 libpci3" ;;       sycl) pkgs="$pkgs libze1 libze-intel-gpu1 intel-opencl-icd" ;;       *) echo "FLAVOR must be cuda, hip or sycl"; exit 1 ;;     esac;     apt-get update; apt-get install -y --no-install-recommends $pkgs;     rm -rf /var/lib/apt/lists/* /var/cache/apt/* # buildkit
                        
# 2026-11-24 18:21:00  0.00B 设置环境变量 DEBIAN_FRONTEND
ENV DEBIAN_FRONTEND=noninteractive
                        
# 2026-11-24 18:21:00  0.00B 定义构建参数
ARG ENGINE_LABEL=0.1.67-linux-x86_64-cuda-cuda12
                        
# 2026-11-24 18:21:00  0.00B 定义构建参数
ARG STRATA_VERSION=0.2.21
                        
# 2026-11-24 18:21:00  0.00B 定义构建参数
ARG FLAVOR=cuda
                        
# 2026-11-11 02:35:18  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2026-11-11 02:35:17  78.20MB 
/bin/sh -c #(nop) ADD file:54dafd97985c3ec227e2c96be9290657cf2ab456885b5fc8a24c9278bca65e60 in / 
                        
# 2026-11-11 02:35:15  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=24.04
                        
# 2026-11-11 02:35:15  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2026-11-11 02:35:15  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:1e3b573566cae7def2c357bf30c5eede7f5fdfa7d2631de5bb7f337c49b6ca19",
    "RepoTags": [
        "ghcr.io/niko1221/strata:0.2.21-cuda12",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/niko1221/strata:0.2.21-cuda12"
    ],
    "RepoDigests": [
        "ghcr.io/niko1221/strata@sha256:1f6fc85efdfefb133894101860ed78f6e298eb62c333a2de6013eea0ac451b31",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/niko1221/strata@sha256:1f6fc85efdfefb133894101860ed78f6e298eb62c333a2de6013eea0ac451b31"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-11-24T10:22:33.565705833Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8080/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "DEBIAN_FRONTEND=noninteractive",
            "STRATA_COMPONENTS_DIR=/opt/strata/components",
            "STRATA_INSTALL_DIR=/data/install",
            "XDG_STATE_HOME=/data/state",
            "XDG_CONFIG_HOME=/data/config",
            "HOME=/data/home",
            "PORT=8080",
            "LANG=C.UTF-8",
            "PYTHONUNBUFFERED=1",
            "PYTHONNOUSERSITE=1",
            "STRATA_IN_DOCKER=1",
            "NVIDIA_VISIBLE_DEVICES=all",
            "NVIDIA_DRIVER_CAPABILITIES=compute,utility"
        ],
        "Cmd": [
            "run"
        ],
        "Healthcheck": {
            "Test": [
                "CMD",
                "/opt/strata/healthcheck.sh"
            ],
            "Interval": 30000000000,
            "Timeout": 8000000000,
            "StartPeriod": 7200000000000,
            "Retries": 3
        },
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "/usr/bin/tini",
            "--",
            "/opt/strata/entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "com.strata.engine": "0.1.67-linux-x86_64-cuda-cuda12",
            "com.strata.flavor": "cuda",
            "org.opencontainers.image.description": "Strata local LLM server (Terminal + engine package), flavor cuda",
            "org.opencontainers.image.documentation": "https://github.com/Niko1221/Strata/blob/main/docs/DOCKER.md",
            "org.opencontainers.image.licenses": "see LICENSE",
            "org.opencontainers.image.source": "https://github.com/Niko1221/Strata",
            "org.opencontainers.image.title": "Strata",
            "org.opencontainers.image.url": "https://github.com/Niko1221/Strata",
            "org.opencontainers.image.version": "0.2.21"
        },
        "StopSignal": "SIGTERM"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 3516404361,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/fca415939338f7b6e411fb8ba1ecf09e61c37d368f58f04ea5e7a9c478773497/diff:/var/lib/docker/overlay2/5cf83ac308a49ddd7c8ad62564074e44d11b3af3d5f45bd2703cfd949a7ce46e/diff:/var/lib/docker/overlay2/e1bb2c642d8f0be90fce0f67706785cc71204cfd70a6edb9c8dfb892d9576c59/diff:/var/lib/docker/overlay2/bffec8e836f0774ca657c17c823fe7a81681113dd9ce012d6accbfb96c7b6866/diff:/var/lib/docker/overlay2/3b4828b4a800f6bf945ddb20294f0eaa22243006ea4fc1d6eba450367e53e700/diff:/var/lib/docker/overlay2/99e1a7b5302a7de1451301b1dffa2fc4b81fd1f9481610d5f9d77bf3739b51f1/diff:/var/lib/docker/overlay2/197fd07b77d8709ebe7ff348b33e32a7ba24dbedc10f6e9cbd50b3aa3f2e3b98/diff:/var/lib/docker/overlay2/4f23a2aefcdf766719791c2bafa907375f5224504d27c0bb00be3117c26dd9e9/diff",
            "MergedDir": "/var/lib/docker/overlay2/cfe94dbcbbcbdf8040d3cf2a6ee03e9fc4eb6d306646f196458ea268569c1435/merged",
            "UpperDir": "/var/lib/docker/overlay2/cfe94dbcbbcbdf8040d3cf2a6ee03e9fc4eb6d306646f196458ea268569c1435/diff",
            "WorkDir": "/var/lib/docker/overlay2/cfe94dbcbbcbdf8040d3cf2a6ee03e9fc4eb6d306646f196458ea268569c1435/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:369ede38a92da8cd72a76f15f37e496def401830f3c8b7d39c0c7695682a51ce",
            "sha256:f5c516905faa470b898fd516b455841fc7d8ea793bf4edc7513756ce884d644f",
            "sha256:eb7c65dc45f15d20aaef799d4613866487e3da91f628674ffe1decbcd21ff6cb",
            "sha256:b9c27dc7811bdeec186bc7cb4d23cab87561b0bc5dc937af68c5d32b61312ae9",
            "sha256:e4596e89ba6b15d041f3b7b0965026eb63f2e064340ba2d3554f7235e315bbcd",
            "sha256:d61715983859fd5b2cff28f8d0459dca4f22fa2efc069170346d18bc824c1a87",
            "sha256:7a9acc9e5bb684a6553dc7ca091404c7c8c99b4e093d2486ccb2272a081161ca",
            "sha256:542ea66855e97016a23af73a9e8ddea011fedbe493a0b480eb0dbe516a34a305",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-11-25T09:26:52.644101128+08:00"
    }
}

更多版本

ghcr.io/niko1221/strata:0.2.1-cuda13

linux/amd64 ghcr.io1.40GB2026-10-21 09:22
239

ghcr.io/niko1221/strata:0.2.11-cuda13

linux/amd64 ghcr.io1.60GB2026-11-09 21:50
107

ghcr.io/niko1221/strata:0.2.12-cuda12

linux/amd64 ghcr.io2.01GB2026-11-09 15:57
89

ghcr.io/niko1221/strata:0.2.12-cuda13

linux/amd64 ghcr.io1.61GB2026-11-09 14:35
107

ghcr.io/niko1221/strata:0.2.13-cuda13

linux/amd64 ghcr.io1.61GB2026-11-09 21:48
134

ghcr.io/niko1221/strata:0.2.17-cuda12

linux/amd64 ghcr.io1.64GB2026-11-21 12:22
48

ghcr.io/niko1221/strata:0.2.17-cuda13

linux/amd64 ghcr.io1.31GB2026-11-21 18:20
40

ghcr.io/niko1221/strata:0.2.18-cuda12

linux/amd64 ghcr.io2.56GB2026-11-22 12:16
34

ghcr.io/niko1221/strata:0.2.18-cuda13

linux/amd64 ghcr.io1.94GB2026-11-22 19:36
45

ghcr.io/niko1221/strata:0.2.2-cuda12

linux/amd64 ghcr.io1.83GB2026-10-22 10:09
233

ghcr.io/niko1221/strata:0.2.2-cuda13

linux/amd64 ghcr.io1.38GB2026-10-22 11:29
352

ghcr.io/niko1221/strata:0.2.20-cuda12

linux/amd64 ghcr.io3.51GB2026-11-23 10:13
34

ghcr.io/niko1221/strata:0.2.20-cuda13

linux/amd64 ghcr.io2.59GB2026-11-23 15:45
47

ghcr.io/niko1221/strata:0.2.21-cuda12

linux/amd64 ghcr.io3.52GB2026-11-25 09:29
16

ghcr.io/niko1221/strata:0.2.21-cuda13

linux/amd64 ghcr.io2.60GB2026-11-25 10:02
13

ghcr.io/niko1221/strata:0.2.3-cuda12

linux/amd64 ghcr.io1.83GB2026-10-25 17:55
180

ghcr.io/niko1221/strata:0.2.3-cuda13

linux/amd64 ghcr.io1.39GB2026-10-24 17:27
248

ghcr.io/niko1221/strata:0.2.7-cuda13

linux/amd64 ghcr.io1.46GB2026-10-28 13:17
264

ghcr.io/niko1221/strata:0.2.9-cuda13

linux/amd64 ghcr.io1.46GB2026-11-02 07:19
334
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×