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

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

13
浏览次数
527.72MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.9.1
源镜像
docker.io/rancher/shell:v0.9.1
镜像ID
sha256:872d03fd261862fc58e673087ea87d33f4167fa276b4a5df2e0019d205ca6d04
镜像 TAG
v0.9.1
镜像大小
527.72MB
平台架构
linux/amd64
镜像源
docker.io
CMD
welcome
启动入口
工作目录
/home/shell
OS/平台
linux/amd64
镜像创建
2026-11-23T16:30:51.338951451Z
同步时间
2026-12-03 17:43
浏览量
13 次
贡献者
avatar null9527
⚙️ 环境变量 2
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
HOME=/home/shell 1

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#rancher/shell:v0.9.1#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.9.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.9.1 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.9.1  docker.io/rancher/shell:v0.9.1'

Ansible快速分发-Containerd

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

镜像构建历史


# 2026-11-24 00:30:51  0.00B 设置默认要执行的命令
CMD ["welcome"]
                        
# 2026-11-24 00:30:51  0.00B 设置环境变量 HOME
ENV HOME=/home/shell
                        
# 2026-11-24 00:30:51  0.00B 设置工作目录为/home/shell
WORKDIR /home/shell
                        
# 2026-11-24 00:30:51  0.00B 指定运行容器时使用的用户
USER 1000:1000
                        
# 2026-11-24 00:30:51  1.31KB 复制新文件或目录到容器中
COPY --chown=root:root --chmod=0755 scripts/package/helm-cmd scripts/package/welcome scripts/package/kustomize /usr/local/bin/ # buildkit
                        
# 2026-11-24 00:30:51  1.52KB 复制新文件或目录到容器中
COPY --chown=1000:1000 /home/shell /home/shell # buildkit
                        
# 2026-11-24 00:30:51  0.00B 执行命令并创建新的镜像层
RUN |3 USERNAME=shell UID=1000 GID=1000 /bin/sh -c install -d -o ${UID} -g ${GID} -m 0750 /home/${USERNAME} # buildkit
                        
# 2026-11-24 00:30:51  289.00B 复制新文件或目录到容器中
COPY /etc/passwd /etc/group /etc/shadow /etc/ # buildkit
                        
# 2026-11-24 00:30:50  527.72MB 复制新文件或目录到容器中
COPY /chroot / # buildkit
                        
# 2026-11-24 00:30:50  0.00B 定义构建参数
ARG GID=1000
                        
# 2026-11-24 00:30:50  0.00B 定义构建参数
ARG UID=1000
                        
# 2026-11-24 00:30:50  0.00B 定义构建参数
ARG USERNAME=shell
                        
                    

镜像信息

{
    "Id": "sha256:872d03fd261862fc58e673087ea87d33f4167fa276b4a5df2e0019d205ca6d04",
    "RepoTags": [
        "rancher/shell:v0.9.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell:v0.9.1"
    ],
    "RepoDigests": [
        "rancher/shell@sha256:de7753c4d782269fab13a70c639d78bdcfeae0d8732dac1a4830542d843d2f76",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/shell@sha256:78da712beb9667650d231fed7620d66a9016d97132cf6642955306770209d50b"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-11-23T16:30:51.338951451Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "1000: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",
            "HOME=/home/shell"
        ],
        "Cmd": [
            "welcome"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/home/shell",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 527719672,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/fedbd4f48c358f7a6dbaad5dda8569c1e9b32e5721dc3a90e6e750468b6b5eda/diff:/var/lib/docker/overlay2/d3682a9ef21ade3d17d7bb4249ebdacc59125ea95ed46538f3de265baa9165a1/diff:/var/lib/docker/overlay2/307cf1f4776bc28c98f5dd8d1c60015033a0fcedf15bb7d9b63f63f07bc85644/diff:/var/lib/docker/overlay2/51198e10cccff9fe7a764230bb996125086ab36e2963d24cb856c6660708208e/diff:/var/lib/docker/overlay2/98ee65210e896646df3e32c92e5c999701944688c6ad320a8a61320f4920c863/diff",
            "MergedDir": "/var/lib/docker/overlay2/7fd86f5b6a1b552a133e8445ff747a80564090fa398dea63c8c0fbd461c75b16/merged",
            "UpperDir": "/var/lib/docker/overlay2/7fd86f5b6a1b552a133e8445ff747a80564090fa398dea63c8c0fbd461c75b16/diff",
            "WorkDir": "/var/lib/docker/overlay2/7fd86f5b6a1b552a133e8445ff747a80564090fa398dea63c8c0fbd461c75b16/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:9cceb974b0a9d86de73359aa16933dc663c21aa2733c96ba987fc4b0d28aad0b",
            "sha256:e7436e46011c79163fb9d8376af5af00b3f17a413bdf80e7fbd5c546830f62f6",
            "sha256:e327147313fad147cd41f162bc675c59fac5cbe2c8411ba11b25cd3ffb0f5b90",
            "sha256:0966d69a7e43ad462dd863f052de668ca18211dae221cd21106e507cb29ab61e",
            "sha256:13833036feddf1e4ee71b8cdfa1bd863cc6e21ffe00227342cd66edbcbf57275",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-12-03T17:43:30.654013574+08:00"
    }
}

更多版本

docker.io/rancher/shell:v0.1.13

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

docker.io/rancher/shell:v0.1.18

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

docker.io/rancher/shell:v0.1.19

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

docker.io/rancher/shell:v0.1.20

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

docker.io/rancher/shell:v0.1.21

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

docker.io/rancher/shell:v0.1.24

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

docker.io/rancher/shell:v0.1.25

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

docker.io/rancher/shell:v0.1.5

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

docker.io/rancher/shell:v0.1.5

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

docker.io/rancher/shell:v0.2.1

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

docker.io/rancher/shell:v0.2.1

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

docker.io/rancher/shell:v0.2.2

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

docker.io/rancher/shell:v0.2.2

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

docker.io/rancher/shell:v0.3.0

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

docker.io/rancher/shell:v0.3.0

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

docker.io/rancher/shell:v0.3.1

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

docker.io/rancher/shell:v0.3.1

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

docker.io/rancher/shell:v0.4.0

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

docker.io/rancher/shell:v0.4.1

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

docker.io/rancher/shell:v0.4.1

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

docker.io/rancher/shell:v0.5.0

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

docker.io/rancher/shell:v0.5.0

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

docker.io/rancher/shell:v0.6.0

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

docker.io/rancher/shell:v0.6.1

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

docker.io/rancher/shell:v0.6.1

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

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

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

docker.io/rancher/shell:v0.6.2

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

docker.io/rancher/shell:v0.7.0

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

docker.io/rancher/shell:v0.7.1

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

docker.io/rancher/shell:v0.8.1

linux/amd64 docker.io361.96MB2026-08-26 11:07
213

docker.io/rancher/shell:v0.9.1

linux/amd64 docker.io527.72MB2026-12-03 17:43
12
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×