docker.io/sspreitzer/shellinabox:ubuntu linux/amd64

docker.io/sspreitzer/shellinabox:ubuntu - 国内下载镜像源 浏览次数:11

这是一个名为sspreitzer/shellinabox的Docker镜像,它提供了一个基于Web浏览器的Shell访问界面。您可以通过该镜像在Docker容器内运行一个Shellinabox服务器,从而允许您通过Web浏览器远程连接并管理容器内的Shell环境。

源镜像 docker.io/sspreitzer/shellinabox:ubuntu
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sspreitzer/shellinabox:ubuntu
镜像ID sha256:c2aaa976982d06587cbe1eaadcceed56ab0ccc102d10732962fa971e8b77b762
镜像TAG ubuntu
大小 97.60MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD shellinabox
启动入口 entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 11 次
贡献者
镜像创建 2024-11-03T03:26:02.975848946Z
同步时间 2025-08-05 11:27
更新时间 2025-08-06 09:07
开放端口
4200/tcp
目录挂载
/etc/shellinabox /home /var/log/supervisor
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SIAB_USERCSS=Normal:+/etc/shellinabox/options-enabled/00+Black-on-White.css,Reverse:-/etc/shellinabox/options-enabled/00_White-On-Black.css;Colors:+/etc/shellinabox/options-enabled/01+Color-Terminal.css,Monochrome:-/etc/shellinabox/options-enabled/01_Monochrome.css SIAB_PORT=4200 SIAB_ADDUSER=true SIAB_USER=guest SIAB_USERID=1000 SIAB_GROUP=guest SIAB_GROUPID=1000 SIAB_PASSWORD=putsafepasswordhere SIAB_SHELL=/bin/bash SIAB_HOME=/home/guest SIAB_SUDO=false SIAB_SSL=true SIAB_SERVICE=/:LOGIN SIAB_PKGS=none SIAB_SCRIPT=none
镜像标签
ubuntu: org.opencontainers.image.ref.name 24.04: org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sspreitzer/shellinabox:ubuntu
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sspreitzer/shellinabox:ubuntu  docker.io/sspreitzer/shellinabox:ubuntu

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sspreitzer/shellinabox:ubuntu
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sspreitzer/shellinabox:ubuntu  docker.io/sspreitzer/shellinabox:ubuntu

Shell快速替换命令

sed -i 's#sspreitzer/shellinabox:ubuntu#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sspreitzer/shellinabox:ubuntu#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sspreitzer/shellinabox:ubuntu && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sspreitzer/shellinabox:ubuntu  docker.io/sspreitzer/shellinabox:ubuntu'

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-11-03 11:26:02  0.00B 设置默认要执行的命令
CMD ["shellinabox"]
                        
# 2024-11-03 11:26:02  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["entrypoint.sh"]
                        
# 2024-11-03 11:26:02  1.56KB 复制文件或目录到容器中
ADD assets/entrypoint.sh /usr/local/sbin/ # buildkit
                        
# 2024-11-03 11:26:02  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/etc/shellinabox /var/log/supervisor /home]
                        
# 2024-11-03 11:26:02  0.00B 声明容器运行时监听的端口
EXPOSE map[4200/tcp:{}]
                        
# 2024-11-03 11:26:02  19.49MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update && apt-get install -y openssl curl openssh-client sudo shellinabox &&     apt-get clean &&     rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* &&     ln -sf '/etc/shellinabox/options-enabled/00+Black on White.css'       /etc/shellinabox/options-enabled/00+Black-on-White.css &&     ln -sf '/etc/shellinabox/options-enabled/00_White On Black.css'       /etc/shellinabox/options-enabled/00_White-On-Black.css &&     ln -sf '/etc/shellinabox/options-enabled/01+Color Terminal.css'       /etc/shellinabox/options-enabled/01+Color-Terminal.css # buildkit
                        
# 2024-11-03 11:26:02  0.00B 设置环境变量 SIAB_USERCSS SIAB_PORT SIAB_ADDUSER SIAB_USER SIAB_USERID SIAB_GROUP SIAB_GROUPID SIAB_PASSWORD SIAB_SHELL SIAB_HOME SIAB_SUDO SIAB_SSL SIAB_SERVICE SIAB_PKGS SIAB_SCRIPT
ENV SIAB_USERCSS=Normal:+/etc/shellinabox/options-enabled/00+Black-on-White.css,Reverse:-/etc/shellinabox/options-enabled/00_White-On-Black.css;Colors:+/etc/shellinabox/options-enabled/01+Color-Terminal.css,Monochrome:-/etc/shellinabox/options-enabled/01_Monochrome.css SIAB_PORT=4200 SIAB_ADDUSER=true SIAB_USER=guest SIAB_USERID=1000 SIAB_GROUP=guest SIAB_GROUPID=1000 SIAB_PASSWORD=putsafepasswordhere SIAB_SHELL=/bin/bash SIAB_HOME=/home/guest SIAB_SUDO=false SIAB_SSL=true SIAB_SERVICE=/:LOGIN SIAB_PKGS=none SIAB_SCRIPT=none
                        
# 2024-10-11 11:48:04  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-10-11 11:48:03  78.11MB 
/bin/sh -c #(nop) ADD file:34dc4f3ab7a694ecde47ff7a610be18591834c45f1d7251813267798412604e5 in / 
                        
# 2024-10-11 11:48:01  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=24.04
                        
# 2024-10-11 11:48:01  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-10-11 11:48:01  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-10-11 11:48:01  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:c2aaa976982d06587cbe1eaadcceed56ab0ccc102d10732962fa971e8b77b762",
    "RepoTags": [
        "sspreitzer/shellinabox:ubuntu",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sspreitzer/shellinabox:ubuntu"
    ],
    "RepoDigests": [
        "sspreitzer/shellinabox@sha256:9b926f12af2edf93572f4b9edaf5dfd9ecb7fa9f4ffdc16983567d687fcb9228",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/sspreitzer/shellinabox@sha256:d70dc42cc4e320ea08d670f21d5f1efe0522adc93430f867293d0e2d41abda5e"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-03T03:26:02.975848946Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "4200/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "SIAB_USERCSS=Normal:+/etc/shellinabox/options-enabled/00+Black-on-White.css,Reverse:-/etc/shellinabox/options-enabled/00_White-On-Black.css;Colors:+/etc/shellinabox/options-enabled/01+Color-Terminal.css,Monochrome:-/etc/shellinabox/options-enabled/01_Monochrome.css",
            "SIAB_PORT=4200",
            "SIAB_ADDUSER=true",
            "SIAB_USER=guest",
            "SIAB_USERID=1000",
            "SIAB_GROUP=guest",
            "SIAB_GROUPID=1000",
            "SIAB_PASSWORD=putsafepasswordhere",
            "SIAB_SHELL=/bin/bash",
            "SIAB_HOME=/home/guest",
            "SIAB_SUDO=false",
            "SIAB_SSL=true",
            "SIAB_SERVICE=/:LOGIN",
            "SIAB_PKGS=none",
            "SIAB_SCRIPT=none"
        ],
        "Cmd": [
            "shellinabox"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/etc/shellinabox": {},
            "/home": {},
            "/var/log/supervisor": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "24.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 97602530,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/fb45a9c30351beff8301ae6da12b21336839a5ad9a2dba0e886cfbb1ae979e06/diff:/var/lib/docker/overlay2/3fdbcf89f5ec31aea29aa66e597a2c4f54c41897fb5ca312aa1c833606d2931e/diff",
            "MergedDir": "/var/lib/docker/overlay2/a872a2f1296bfbfff2918f5813f8e8c6e37b1c764d8674ef69942b0b18b3ad4c/merged",
            "UpperDir": "/var/lib/docker/overlay2/a872a2f1296bfbfff2918f5813f8e8c6e37b1c764d8674ef69942b0b18b3ad4c/diff",
            "WorkDir": "/var/lib/docker/overlay2/a872a2f1296bfbfff2918f5813f8e8c6e37b1c764d8674ef69942b0b18b3ad4c/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a46a5fb872b554648d9d0262f302b2c1ded46eeb1ef4dc727ecc5274605937af",
            "sha256:b2bb66a6acf43400c74d70ccfa131fc8b720d69e53dcaa3bed7061e7e7343781",
            "sha256:0ecc72dda132842be24c7e66bf47e7080df5099503031e41b66eb4f6bf267659"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-08-05T11:26:58.584715721+08:00"
    }
}

更多版本

docker.io/sspreitzer/shellinabox:ubuntu

linux/amd64 docker.io97.60MB2025-08-05 11:27
10