广告图片

docker.io/rancher/shell:v0.7.0 linux/amd64

docker.io/rancher/shell:v0.7.0 - 国内下载镜像源 浏览次数:8 泥蚝 贡献同步 安全受验证的发布者-Rancher
📚 **rancher/shell 镜像描述** 该镜像是一个 shell 容器镜像,用于提供一个基本的 Linux 命令行环境。您可以在其中执行 shell 命令、运行命令脚本或交互式 shell。 .>

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

源镜像 docker.io/rancher/shell:v0.7.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.7.0
镜像ID sha256:48fbc8115d7f0af4b09aafb3221968e150a74dbeae2b0064544e47a06f0ae334
镜像TAG v0.7.0
大小 352.28MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD welcome
启动入口
工作目录 /home/shell
OS/平台 linux/amd64
浏览量 8 次
贡献者
avatar
泥蚝
镜像创建 2026-03-20T02:38:01.525990611Z
同步时间 2026-05-16 19:07
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
镜像安全扫描 查看Trivy扫描报告

系统OS: sles 15.7 扫描引擎: Trivy 扫描时间: 2026-05-16 19:07

低危漏洞:5 中危漏洞:71 高危漏洞:60 严重漏洞:4

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2026-03-20 10:38:01  0.00B 设置默认要执行的命令
CMD ["welcome"]
                        
# 2026-03-20 10:38:01  0.00B 设置工作目录为/home/shell
WORKDIR /home/shell
                        
# 2026-03-20 10:38:01  0.00B 指定运行容器时使用的用户
USER 1000
                        
# 2026-03-20 10:38:01  108.00B 复制新文件或目录到容器中
COPY --chown=1000:1000 --chmod=0755 package/kustomize.sh /home/shell/ # buildkit
                        
# 2026-03-20 10:38:01  1.13KB 复制新文件或目录到容器中
COPY --chown=root:root --chmod=0755 package/helm-cmd package/welcome /usr/local/bin/ # buildkit
                        
# 2026-03-20 10:38:01  202.36MB 复制新文件或目录到容器中
COPY --chown=root:root --chmod=0755 /kubectl /k9s /kustomize* /usr/local/bin/ # buildkit
                        
# 2026-03-20 10:38:00  57.68MB 复制新文件或目录到容器中
COPY --chown=root:root --chmod=0755 /helm/bin/helm /usr/local/bin/ # buildkit
                        
# 2026-03-20 10:36:06  92.24MB 复制新文件或目录到容器中
COPY /chroot / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:48fbc8115d7f0af4b09aafb3221968e150a74dbeae2b0064544e47a06f0ae334",
    "RepoTags": [
        "rancher/shell:v0.7.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.7.0"
    ],
    "RepoDigests": [
        "rancher/shell@sha256:b07e6c97da2a47f9b059ebf1b9ba4b67cc837b0dd024622a75f6adc8c5714794",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell@sha256:b25513124edbacce4e639f223c7ec09112f29a197cbcdaf9c06c1be79db08464"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-03-20T02:38:01.525990611Z",
    "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": 352279913,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/95816408eef4c0c38b370b76e0c58dda23a48b3f7a8020a1ab117aaa300a79ae/diff:/var/lib/docker/overlay2/b1e6555f522baa92cb25e2566fed32b2c5ee23cf5d90ebd8050a3550f447fad7/diff:/var/lib/docker/overlay2/834e1d4fb10df7ffe059d0109578f84fc6468ccab4cab6cbe2748ca8e7f7408a/diff:/var/lib/docker/overlay2/9195545dd8099a2331bdde9703e635f0cc2268bb5532bea2cdbd76585bada540/diff:/var/lib/docker/overlay2/65703f97c56c308e115e185681e33ce7dd28d9e3b089d1a47bc260e88cb61455/diff",
            "MergedDir": "/var/lib/docker/overlay2/1b5018ed4bdd5c2fd2a062beb2fcaad00c7513642c9256245f184e8287084d95/merged",
            "UpperDir": "/var/lib/docker/overlay2/1b5018ed4bdd5c2fd2a062beb2fcaad00c7513642c9256245f184e8287084d95/diff",
            "WorkDir": "/var/lib/docker/overlay2/1b5018ed4bdd5c2fd2a062beb2fcaad00c7513642c9256245f184e8287084d95/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:5e8488dfbe68285d516b1851207a52233e7a5335b43e6959c8f0cafd66abfade",
            "sha256:08e23a15229737ac0913b3f2555d09c835b480073ea606d050f4e99228daf2de",
            "sha256:a215e2e96a8d32641bab4c18049d385f93f49be21f4d8bf7c3bcd7b52a7afd0b",
            "sha256:bee863c332de2175c0717398a101cbd62c15bd5fe5d4b978095b713b6b5f46a8",
            "sha256:9d6205d359d6a20f64a31df1caeb0a1529dc553d73d86c6127850f2840a01f72",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-05-16T19:07:13.549819637+08:00"
    }
}

更多版本

docker.io/rancher/shell:v0.1.25

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

docker.io/rancher/shell:v0.1.5

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

docker.io/rancher/shell:v0.1.20

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

docker.io/rancher/shell:v0.2.1

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

docker.io/rancher/shell:v0.2.2

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

docker.io/rancher/shell:v0.1.24

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

docker.io/rancher/shell:v0.3.0

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

docker.io/rancher/shell:v0.3.1

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

docker.io/rancher/shell:v0.4.0

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

docker.io/rancher/shell:v0.1.19

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

docker.io/rancher/shell:v0.4.1

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

docker.io/rancher/shell:v0.3.1

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

docker.io/rancher/shell:v0.4.1

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

docker.io/rancher/shell:v0.2.2

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

docker.io/rancher/shell:v0.2.1

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

docker.io/rancher/shell:v0.5.0

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

docker.io/rancher/shell:v0.5.0

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

docker.io/rancher/shell:v0.1.21

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

docker.io/rancher/shell:v0.3.0

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

docker.io/rancher/shell:v0.6.0

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

docker.io/rancher/shell:v0.6.1

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

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

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

docker.io/rancher/shell:v0.6.1

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

docker.io/rancher/shell:v0.1.18

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

docker.io/rancher/shell:v0.6.2

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

docker.io/rancher/shell:v0.1.5

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

docker.io/rancher/shell:v0.1.13

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

docker.io/rancher/shell:v0.7.0

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