docker.io/linuxserver/openssh-server:version-9.7_p1-r4 linux/amd64

docker.io/linuxserver/openssh-server:version-9.7_p1-r4 - 国内下载镜像源 浏览次数:73 安全受验证的发布者-linuxserver
LinuxServer/Openssh-Server 这是一个OpenSSH服务镜像,提供了安全和高效的远程访问功能。

这个镜像基于Ubuntu Linux,内置有OpenSSH服务,可以通过 SSH 协议进行连接和数据传输。使用该镜像,您可以轻松地在 Docker 中创建一个安全的 OpenSSH 服务,方便您管理您的容器或服务器。

镜像特点:

  • 基于Ubuntu Linux
  • 内置OpenSSH服务
  • 支持 SSH 协议
  • 适合在 Docker 中使用
源镜像 docker.io/linuxserver/openssh-server:version-9.7_p1-r4
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/openssh-server:version-9.7_p1-r4
镜像ID sha256:caf490808508f4e492c1487ef88ab8af244d73524514db8aaa11ed0dbb852a28
镜像TAG version-9.7_p1-r4
大小 34.13MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /init
工作目录 /
OS/平台 linux/amd64
浏览量 73 次
贡献者
镜像创建 2024-09-29T18:53:41.717905619Z
同步时间 2024-10-09 10:36
更新时间 2024-11-20 12:21
开放端口
2222/tcp
环境变量
PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PS1=$(whoami)@$(hostname):$(pwd)\$ HOME=/root TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 S6_STAGE2_HOOK=/docker-mods VIRTUAL_ENV=/lsiopy LSIO_FIRST_PARTY=true
镜像标签
Linuxserver.io version:- 9.7_p1-r4-ls171 Build-date:- 2024-09-29T18:52:31+00:00: build_version aptalca: maintainer linuxserver.io: org.opencontainers.image.authors 2024-09-29T18:52:31+00:00: org.opencontainers.image.created [Openssh-server](https://www.openssh.com/) is a sandboxed environment that allows ssh access without giving keys to the entire server. Giving ssh access via private key often means giving full access to the server. This container creates a limited and sandboxed environment that others can ssh into. The users only have access to the folders mapped and the processes running inside this container.: org.opencontainers.image.description https://docs.linuxserver.io/images/docker-openssh-server: org.opencontainers.image.documentation GPL-3.0-only: org.opencontainers.image.licenses 2637dee6975667f492ebd3676c1209543d3301c6: org.opencontainers.image.ref.name 2637dee6975667f492ebd3676c1209543d3301c6: org.opencontainers.image.revision https://github.com/linuxserver/docker-openssh-server: org.opencontainers.image.source Openssh-server: org.opencontainers.image.title https://github.com/linuxserver/docker-openssh-server/packages: org.opencontainers.image.url linuxserver.io: org.opencontainers.image.vendor 9.7_p1-r4-ls171: org.opencontainers.image.version

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/openssh-server:version-9.7_p1-r4
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/openssh-server:version-9.7_p1-r4  docker.io/linuxserver/openssh-server:version-9.7_p1-r4

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/openssh-server:version-9.7_p1-r4
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/openssh-server:version-9.7_p1-r4  docker.io/linuxserver/openssh-server:version-9.7_p1-r4

Shell快速替换命令

sed -i 's#linuxserver/openssh-server:version-9.7_p1-r4#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/openssh-server:version-9.7_p1-r4#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/openssh-server:version-9.7_p1-r4 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/openssh-server:version-9.7_p1-r4  docker.io/linuxserver/openssh-server:version-9.7_p1-r4'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/openssh-server:version-9.7_p1-r4 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/openssh-server:version-9.7_p1-r4  docker.io/linuxserver/openssh-server:version-9.7_p1-r4'

镜像历史

大小 创建时间 层信息
0.00B 2024-09-30 02:53:41 VOLUME [/config]
0.00B 2024-09-30 02:53:41 EXPOSE map[2222/tcp:{}]
7.46KB 2024-09-30 02:53:41 COPY /root / # buildkit
7.34MB 2024-09-30 02:53:41 RUN |3 BUILD_DATE=2024-09-29T18:52:31+00:00 VERSION=9.7_p1-r4-ls171 OPENSSH_RELEASE=9.7_p1-r4 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache --upgrade logrotate nano netcat-openbsd sudo && echo "**** install openssh-server ****" && if [ -z ${OPENSSH_RELEASE+x} ]; then OPENSSH_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:openssh-server-pam$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); fi && apk add --no-cache openssh-client==${OPENSSH_RELEASE} openssh-server-pam==${OPENSSH_RELEASE} openssh-sftp-server==${OPENSSH_RELEASE} && printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && echo "**** setup openssh environment ****" && sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/g' /etc/ssh/sshd_config && usermod --shell /bin/bash abc && rm -rf /tmp/* $HOME/.cache # buildkit
0.00B 2024-09-30 02:53:41 LABEL maintainer=aptalca
0.00B 2024-09-30 02:53:41 LABEL build_version=Linuxserver.io version:- 9.7_p1-r4-ls171 Build-date:- 2024-09-29T18:52:31+00:00
0.00B 2024-09-30 02:53:41 ARG OPENSSH_RELEASE=9.7_p1-r4
0.00B 2024-09-30 02:53:41 ARG VERSION=9.7_p1-r4-ls171
0.00B 2024-09-30 02:53:41 ARG BUILD_DATE=2024-09-29T18:52:31+00:00
0.00B 2024-09-30 02:53:41 ENV LSIO_FIRST_PARTY=true
0.00B 2024-09-28 21:38:42 ENTRYPOINT ["/init"]
7.49KB 2024-09-28 21:38:42 COPY root/ / # buildkit
13.86MB 2024-09-28 21:38:42 RUN |5 BUILD_DATE=2024-09-28T13:36:59+00:00 VERSION=2a6ecb14-ls14 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache alpine-release bash ca-certificates catatonit coreutils curl findutils jq netcat-openbsd procps-ng shadow tzdata && echo "**** create abc user and make our folders ****" && groupmod -g 1000 users && useradd -u 911 -U -d /config -s /bin/false abc && usermod -G users abc && mkdir -p /app /config /defaults /lsiopy && echo "**** cleanup ****" && rm -rf /tmp/* # buildkit
0.00B 2024-09-28 21:38:40 ENV PS1=$(whoami)@$(hostname):$(pwd)\$ HOME=/root TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 S6_STAGE2_HOOK=/docker-mods VIRTUAL_ENV=/lsiopy PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
945.00B 2024-09-28 21:38:40 ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit
4.18KB 2024-09-28 21:38:40 ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # buildkit
25.30KB 2024-09-28 21:38:40 ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit
0.00B 2024-09-28 21:38:40 LABEL maintainer=TheLamer
0.00B 2024-09-28 21:38:40 LABEL build_version=Linuxserver.io version:- 2a6ecb14-ls14 Build-date:- 2024-09-28T13:36:59+00:00
0.00B 2024-09-28 21:38:40 ARG LSIOWN_VERSION=v1
0.00B 2024-09-28 21:38:40 ARG PKG_INST_VERSION=v1
0.00B 2024-09-28 21:38:40 ARG MODS_VERSION=v3
0.00B 2024-09-28 21:38:40 ARG VERSION=2a6ecb14-ls14
0.00B 2024-09-28 21:38:40 ARG BUILD_DATE=2024-09-28T13:36:59+00:00
12.88MB 2024-09-28 21:38:40 COPY /root-out/ / # buildkit

镜像信息

{
    "Id": "sha256:caf490808508f4e492c1487ef88ab8af244d73524514db8aaa11ed0dbb852a28",
    "RepoTags": [
        "linuxserver/openssh-server:version-9.7_p1-r4",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/openssh-server:version-9.7_p1-r4"
    ],
    "RepoDigests": [
        "linuxserver/openssh-server@sha256:53ea39d2485c0c96dc9abaae18cad4f29d0fcf33ad1c05f6d73b7f1e22ec215c",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/openssh-server@sha256:b3739eb8152886c64e28080ffb71339e6c71264c21a74b95ef0e284e48938dc0"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-09-29T18:53:41.717905619Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "2222/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "PS1=$(whoami)@$(hostname):$(pwd)\\$ ",
            "HOME=/root",
            "TERM=xterm",
            "S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0",
            "S6_VERBOSITY=1",
            "S6_STAGE2_HOOK=/docker-mods",
            "VIRTUAL_ENV=/lsiopy",
            "LSIO_FIRST_PARTY=true"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": {
            "/config": {}
        },
        "WorkingDir": "/",
        "Entrypoint": [
            "/init"
        ],
        "OnBuild": null,
        "Labels": {
            "build_version": "Linuxserver.io version:- 9.7_p1-r4-ls171 Build-date:- 2024-09-29T18:52:31+00:00",
            "maintainer": "aptalca",
            "org.opencontainers.image.authors": "linuxserver.io",
            "org.opencontainers.image.created": "2024-09-29T18:52:31+00:00",
            "org.opencontainers.image.description": "[Openssh-server](https://www.openssh.com/) is a sandboxed environment that allows ssh access without giving keys to the entire server.  Giving ssh access via private key often means giving full access to the server. This container creates a limited and sandboxed environment that others can ssh into.  The users only have access to the folders mapped and the processes running inside this container.",
            "org.opencontainers.image.documentation": "https://docs.linuxserver.io/images/docker-openssh-server",
            "org.opencontainers.image.licenses": "GPL-3.0-only",
            "org.opencontainers.image.ref.name": "2637dee6975667f492ebd3676c1209543d3301c6",
            "org.opencontainers.image.revision": "2637dee6975667f492ebd3676c1209543d3301c6",
            "org.opencontainers.image.source": "https://github.com/linuxserver/docker-openssh-server",
            "org.opencontainers.image.title": "Openssh-server",
            "org.opencontainers.image.url": "https://github.com/linuxserver/docker-openssh-server/packages",
            "org.opencontainers.image.vendor": "linuxserver.io",
            "org.opencontainers.image.version": "9.7_p1-r4-ls171"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 34125096,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/d86960ea37246d089c84cd38d54f25605cf5225a4c2c101d1bcb94aba344b789/diff:/var/lib/docker/overlay2/7f1bcd7a52dd27248c8ed977f2968e278878f93c8c5069c41f07aec00f6ee446/diff:/var/lib/docker/overlay2/7ecff3b622e676de8534152d55d95f89ff7dae841523d639fc1efb60872aa4ba/diff:/var/lib/docker/overlay2/bcea2f89bab502197af8d04927a86f70a39030541aa0ebb2bd0319442bb2abba/diff:/var/lib/docker/overlay2/c80db7426436c837e6ba19dc98b30176e8dfe488d75be6584b2f58650415824a/diff:/var/lib/docker/overlay2/b196f3e59d508a4ad9c669a5fca607bb8ef4f2804b9bad5d6128b930244276e6/diff:/var/lib/docker/overlay2/d3f7fe541ceca162d38850d8dba7cd2e790ae93d937f5a9751ac3718fb3dc8a8/diff",
            "MergedDir": "/var/lib/docker/overlay2/de921e34956ae9a0b34d9cee2bacd2b1a6d64243428b5b4061e6428b94921369/merged",
            "UpperDir": "/var/lib/docker/overlay2/de921e34956ae9a0b34d9cee2bacd2b1a6d64243428b5b4061e6428b94921369/diff",
            "WorkDir": "/var/lib/docker/overlay2/de921e34956ae9a0b34d9cee2bacd2b1a6d64243428b5b4061e6428b94921369/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:877036b083444b81229692659857a1c806d1c4bb7bbc505c05ba4276967c9a33",
            "sha256:8cf796425b7c1aeb4db19c2affb3e8d833cbad96e0b47d693b2ff19276400368",
            "sha256:799b24214ac2010c522653a3ba544da09a3ea51fb09fda7f60ca77b378b7a451",
            "sha256:1e9ddb120aa5a56687ddde743fba8a3da4c427a38935482869582e94c6b73ae8",
            "sha256:aad00348126d10c040bb40a49725d814bddc700b19b533c4e3fe86c208427746",
            "sha256:1636f1be3bfe0cb31548ddfc2af2d6a2a3f43b039e8eeebedce33033bbeb5efb",
            "sha256:78e3f3cc056cf13f1c6e722f6ea968e1a47c55b9cd62e5844e590d071c2c0b4f",
            "sha256:ec10349e852f2e2640af751de8584aa3e61803796678669326fac18eddd3353b"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-09T10:36:01.602471254+08:00"
    }
}

更多版本

docker.io/linuxserver/openssh-server:version-9.7_p1-r4

linux/amd64 docker.io34.13MB2024-10-09 10:36
72