logo
docker.io/rancher/shell:v0.8.1
linux/amd64 docker.io 已验证 · Rancher
📚 **rancher/shell 镜像描述** 该镜像是一个 shell 容器镜像,用于提供一个基本的 Linux 命令行环境。您可以在其中执行 shell 命令、运行命令脚本或交互式 shell。 .>

该镜像基于 Alpine Linux 发行版,具有轻量级和高性能特点。. Hope this helps! 😊

19
浏览次数
361.96MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.8.1
源镜像
docker.io/rancher/shell:v0.8.1
镜像ID
sha256:80e060e36571c32fd966a1eed802df604584d7798a0a174316127d184eebad56
镜像 TAG
v0.8.1
镜像大小
361.96MB
平台架构
linux/amd64
镜像源
docker.io
CMD
welcome
启动入口
工作目录
/home/shell
OS/平台
linux/amd64
镜像创建
2026-07-27T20:50:01.997359735Z
同步时间
2026-08-26 11:07
浏览量
19 次
贡献者
⚙️ 环境变量 1
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
🛡️ 镜像安全扫描
sles 16.0 Trivy 2026-08-26 11:08 查看完整报告
0
低危 LOW
11
中危 MEDIUM
39
高危 HIGH
0
严重 CRITICAL
受影响目标 (4)
docker.io/rancher/shell:v0.8.1 (sles 16.0) sles usr/bin/helm gobinary usr/bin/k9s gobinary usr/bin/kubectl1.36 gobinary

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.8.1
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.8.1  docker.io/rancher/shell:v0.8.1

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.8.1
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.8.1  docker.io/rancher/shell:v0.8.1

Shell快速替换命令

sed -i 's#rancher/shell:v0.8.1#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.8.1#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.8.1 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.8.1  docker.io/rancher/shell:v0.8.1'

Ansible快速分发-Containerd

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

镜像构建历史


# 2026-07-28 04:50:01  0.00B 设置默认要执行的命令
CMD ["welcome"]
                        
# 2026-07-28 04:50:01  0.00B 设置工作目录为/home/shell
WORKDIR /home/shell
                        
# 2026-07-28 04:50:01  0.00B 指定运行容器时使用的用户
USER 1000
                        
# 2026-07-28 04:50:01  20.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -s /usr/bin/kubectl1.36 /usr/bin/kubectl # buildkit
                        
# 2026-07-28 04:50:01  1.31KB 复制新文件或目录到容器中
COPY --chown=root:root --chmod=0755 package/helm-cmd package/welcome package/kustomize /usr/local/bin/ # buildkit
                        
# 2026-07-28 04:49:59  361.96MB 复制新文件或目录到容器中
COPY /chroot / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:80e060e36571c32fd966a1eed802df604584d7798a0a174316127d184eebad56",
    "RepoTags": [
        "rancher/shell:v0.8.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.8.1"
    ],
    "RepoDigests": [
        "rancher/shell@sha256:f293af9c635f0646f07e918788b97450406e6d0de1041b8afa9ed263ecff76bf",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell@sha256:19a6b907811b988a778726def6f37f0d9a1a6e8d735e6d0d5d4ea9e579af3504"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-07-27T20:50:01.997359735Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "1000",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "Cmd": [
            "welcome"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/home/shell",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 361957066,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/ad24f747cfd765b2185f6b0fe98a880f70e0cf5e5e7179168acb6d1e1843758c/diff:/var/lib/docker/overlay2/77ac4bfa34154a5d25f2689afb43f36cb5993b214349184dd06d7ac878f2acd6/diff:/var/lib/docker/overlay2/64360fe9398eb81fe1b91562c17d1c44af97ccdd4f1e9a2d8a19525c9689e1ba/diff",
            "MergedDir": "/var/lib/docker/overlay2/f9b968518c11cc2150fa2ebd96f5001d4149b19ef51a2665f81cb6914bfdc4e5/merged",
            "UpperDir": "/var/lib/docker/overlay2/f9b968518c11cc2150fa2ebd96f5001d4149b19ef51a2665f81cb6914bfdc4e5/diff",
            "WorkDir": "/var/lib/docker/overlay2/f9b968518c11cc2150fa2ebd96f5001d4149b19ef51a2665f81cb6914bfdc4e5/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:5b5c8586d8a4319c7660c70dd52d76e6c3380dafbea34a64751f7972d6608fff",
            "sha256:ddbf788d7ea6efcdd1542201ba75be1493e5b888f5da106ae30944040db941dc",
            "sha256:ab4039f04bddec9cafbe73734a8ac6d29ca36d6abfb233599f332410de351375",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-08-26T11:07:44.614565933+08:00"
    }
}

更多版本

docker.io/rancher/shell:v0.1.25

linux/amd64 docker.io405.99MB2024-06-27 10:20
722

docker.io/rancher/shell:v0.1.5

linux/arm64 docker.io141.41MB2024-07-28 01:20
569

docker.io/rancher/shell:v0.1.20

linux/amd64 docker.io387.83MB2024-08-08 15:23
657

docker.io/rancher/shell:v0.2.1

linux/amd64 docker.io302.08MB2024-08-30 17:02
837

docker.io/rancher/shell:v0.2.2

linux/amd64 docker.io303.21MB2024-10-27 12:58
639

docker.io/rancher/shell:v0.1.24

linux/amd64 docker.io392.80MB2024-11-18 19:43
631

docker.io/rancher/shell:v0.3.0

linux/amd64 docker.io307.99MB2024-12-16 15:27
578

docker.io/rancher/shell:v0.3.1

linux/amd64 docker.io332.56MB2025-03-06 15:03
537

docker.io/rancher/shell:v0.4.0

linux/amd64 docker.io338.51MB2025-04-06 15:33
478

docker.io/rancher/shell:v0.1.19

linux/amd64 docker.io345.81MB2025-04-15 09:31
502

docker.io/rancher/shell:v0.4.1

linux/amd64 docker.io339.94MB2025-05-23 18:31
693

docker.io/rancher/shell:v0.3.1

linux/arm64 docker.io325.50MB2025-07-31 10:40
308

docker.io/rancher/shell:v0.4.1

linux/arm64 docker.io333.67MB2025-08-11 16:49
400

docker.io/rancher/shell:v0.2.2

linux/arm64 docker.io298.02MB2025-08-11 18:01
310

docker.io/rancher/shell:v0.2.1

linux/arm64 docker.io297.54MB2025-08-14 16:33
286

docker.io/rancher/shell:v0.5.0

linux/amd64 docker.io348.17MB2025-08-27 01:05
540

docker.io/rancher/shell:v0.5.0

linux/arm64 docker.io339.70MB2025-09-08 01:15
356

docker.io/rancher/shell:v0.1.21

linux/amd64 docker.io391.92MB2025-10-21 17:26
345

docker.io/rancher/shell:v0.3.0

linux/arm64 docker.io302.87MB2025-10-29 11:36
235

docker.io/rancher/shell:v0.6.0

linux/amd64 docker.io356.96MB2025-12-01 15:13
319

docker.io/rancher/shell:v0.6.1

linux/amd64 docker.io358.54MB2025-12-21 08:20
481

docker.io/rancher/shell:v0.6.1-rc.1

linux/amd64 docker.io358.54MB2025-12-28 23:38
362

docker.io/rancher/shell:v0.6.1

linux/arm64 docker.io346.95MB2026-01-21 16:45
231

docker.io/rancher/shell:v0.1.18

linux/amd64 docker.io344.23MB2026-02-24 16:12
281

docker.io/rancher/shell:v0.6.2

linux/amd64 docker.io358.12MB2026-02-28 01:31
358

docker.io/rancher/shell:v0.1.5

linux/amd64 docker.io149.33MB2026-05-14 14:46
149

docker.io/rancher/shell:v0.1.13

linux/amd64 docker.io170.33MB2026-05-14 22:41
180

docker.io/rancher/shell:v0.7.0

linux/amd64 docker.io352.28MB2026-05-16 19:07
233

docker.io/rancher/shell:v0.7.1

linux/amd64 docker.io354.37MB2026-07-26 09:49
93

docker.io/rancher/shell:v0.8.1

linux/amd64 docker.io361.96MB2026-08-26 11:07
18
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×