docker.io/linuxserver/code-server:4.106.2 linux/arm64

docker.io/linuxserver/code-server:4.106.2 - 国内下载镜像源 浏览次数:11 安全受验证的发布者-linuxserver 温馨提示: 这是一个 linux/arm64 系统架构镜像

这是一个基于Code-Server的Docker镜像,由LinuxServer团队维护。Code-Server是一个开源项目,它允许您在浏览器中运行VS Code。该镜像提供了一种方便快捷的方式来运行和管理Code-Server,无需自行配置复杂的运行环境。

源镜像 docker.io/linuxserver/code-server:4.106.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:4.106.2-linuxarm64
镜像ID sha256:b1f0dc1d320c997249b498168cd400e0aa528cdb879058ef6fa51dbff3737436
镜像TAG 4.106.2-linuxarm64
大小 692.97MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /init
工作目录 /
OS/平台 linux/arm64
浏览量 11 次
贡献者
镜像创建 2025-11-20T02:23:55.718309388Z
同步时间 2025-11-29 19:05
更新时间 2025-11-30 01:32
开放端口
8443/tcp
环境变量
PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/config LANGUAGE=en_US.UTF-8 LANG=en_US.UTF-8 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:- 4.106.2-ls306 Build-date:- 2025-11-20T02:22:08+00:00: build_version aptalca: maintainer linuxserver.io: org.opencontainers.image.authors 2025-11-20T02:22:08+00:00: org.opencontainers.image.created [Code-server](https://coder.com) is VS Code running on a remote server, accessible through the browser. - Code on your Chromebook, tablet, and laptop with a consistent dev environment. - If you have a Windows or Mac workstation, more easily develop for Linux. - Take advantage of large cloud servers to speed up tests, compilations, downloads, and more. - Preserve battery life when you're on the go. - All intensive computation runs on your server. - You're no longer running excess instances of Chrome. : org.opencontainers.image.description https://docs.linuxserver.io/images/docker-code-server: org.opencontainers.image.documentation GPL-3.0-only: org.opencontainers.image.licenses 0ffc04049822301817987f7250e95dd8ae8e79ff: org.opencontainers.image.ref.name 0ffc04049822301817987f7250e95dd8ae8e79ff: org.opencontainers.image.revision https://github.com/linuxserver/docker-code-server: org.opencontainers.image.source Code-server: org.opencontainers.image.title https://github.com/linuxserver/docker-code-server/packages: org.opencontainers.image.url linuxserver.io: org.opencontainers.image.vendor 4.106.2-ls306: org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:4.106.2-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:4.106.2-linuxarm64  docker.io/linuxserver/code-server:4.106.2

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:4.106.2-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:4.106.2-linuxarm64  docker.io/linuxserver/code-server:4.106.2

Shell快速替换命令

sed -i 's#linuxserver/code-server:4.106.2#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:4.106.2-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:4.106.2-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:4.106.2-linuxarm64  docker.io/linuxserver/code-server:4.106.2'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:4.106.2-linuxarm64 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:4.106.2-linuxarm64  docker.io/linuxserver/code-server:4.106.2'

镜像构建历史


# 2025-11-20 10:23:55  0.00B 声明容器运行时监听的端口
EXPOSE [8443/tcp]
                        
# 2025-11-20 10:23:55  3.53KB 复制新文件或目录到容器中
COPY /root / # buildkit
                        
# 2025-11-20 10:23:55  541.60MB 执行命令并创建新的镜像层
RUN |4 BUILD_DATE=2025-11-20T02:22:08+00:00 VERSION=4.106.2-ls306 CODE_RELEASE=4.106.2 DEBIAN_FRONTEND=noninteractive /bin/sh -c echo "**** install runtime dependencies ****" &&   apt-get update &&   apt-get install -y     git     libatomic1     nano     net-tools     sudo &&   echo "**** install code-server ****" &&   if [ -z ${CODE_RELEASE+x} ]; then     CODE_RELEASE=$(curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest       | awk '/tag_name/{print $4;exit}' FS='[""]' | sed 's|^v||');   fi &&   mkdir -p /app/code-server &&   curl -o     /tmp/code-server.tar.gz -L     "https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/code-server-${CODE_RELEASE}-linux-arm64.tar.gz" &&   tar xf /tmp/code-server.tar.gz -C     /app/code-server --strip-components=1 &&   printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version &&   echo "**** clean up ****" &&   apt-get clean &&   rm -rf     /config/*     /tmp/*     /var/lib/apt/lists/*     /var/tmp/* # buildkit
                        
# 2025-11-20 10:23:55  0.00B 设置环境变量 HOME
ENV HOME=/config
                        
# 2025-11-20 10:23:55  0.00B 定义构建参数
ARG DEBIAN_FRONTEND=noninteractive
                        
# 2025-11-20 10:23:55  0.00B 添加元数据标签
LABEL maintainer=aptalca
                        
# 2025-11-20 10:23:55  0.00B 添加元数据标签
LABEL build_version=Linuxserver.io version:- 4.106.2-ls306 Build-date:- 2025-11-20T02:22:08+00:00
                        
# 2025-11-20 10:23:55  0.00B 定义构建参数
ARG CODE_RELEASE=4.106.2
                        
# 2025-11-20 10:23:55  0.00B 定义构建参数
ARG VERSION=4.106.2-ls306
                        
# 2025-11-20 10:23:55  0.00B 定义构建参数
ARG BUILD_DATE=2025-11-20T02:22:08+00:00
                        
# 2025-11-20 10:23:55  0.00B 设置环境变量 LSIO_FIRST_PARTY
ENV LSIO_FIRST_PARTY=true
                        
# 2025-11-19 07:33:52  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/init"]
                        
# 2025-11-19 07:33:52  9.45KB 复制新文件或目录到容器中
COPY root/ / # buildkit
                        
# 2025-11-19 07:33:52  40.97MB 执行命令并创建新的镜像层
RUN |7 BUILD_DATE=2025-11-18T23:31:59+00:00 VERSION=d9aadce2-ls55 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 WITHCONTENV_VERSION=v1 DEBIAN_FRONTEND=noninteractive /bin/sh -c echo "**** Ripped from Ubuntu Docker Logic ****" &&   rm -f /etc/apt/sources.list.d/ubuntu.sources &&   set -xe &&   echo '#!/bin/sh'     > /usr/sbin/policy-rc.d &&   echo 'exit 101'     >> /usr/sbin/policy-rc.d &&   chmod +x     /usr/sbin/policy-rc.d &&   dpkg-divert --local --rename --add /sbin/initctl &&   cp -a     /usr/sbin/policy-rc.d     /sbin/initctl &&   sed -i     's/^exit.*/exit 0/'     /sbin/initctl &&   echo 'force-unsafe-io'     > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup &&   echo 'DPkg::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };'     > /etc/apt/apt.conf.d/docker-clean &&   echo 'APT::Update::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };'     >> /etc/apt/apt.conf.d/docker-clean &&   echo 'Dir::Cache::pkgcache ""; Dir::Cache::srcpkgcache "";'     >> /etc/apt/apt.conf.d/docker-clean &&   echo 'Acquire::Languages "none";'     > /etc/apt/apt.conf.d/docker-no-languages &&   echo 'Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";'     > /etc/apt/apt.conf.d/docker-gzip-indexes &&   echo 'Apt::AutoRemove::SuggestsImportant "false";'     > /etc/apt/apt.conf.d/docker-autoremove-suggests &&   mkdir -p /run/systemd &&   echo 'docker'     > /run/systemd/container &&   echo "**** install apt-utils and locales ****" &&   apt-get update &&   apt-get upgrade -y &&   apt-get install -y     apt-utils     locales &&   echo "**** install packages ****" &&   apt-get install -y     catatonit     cron     curl     gnupg     jq     netcat-openbsd     systemd-standalone-sysusers     tzdata &&   echo "**** generate locale ****" &&   locale-gen en_US.UTF-8 &&   echo "**** create abc user and make our folders ****" &&   useradd -u 911 -U -d /config -s /bin/false abc &&   usermod -G users abc &&   mkdir -p     /app     /config     /defaults     /lsiopy &&   echo "**** cleanup ****" &&   userdel ubuntu &&   apt-get autoremove &&   apt-get clean &&   rm -rf     /tmp/*     /var/lib/apt/lists/*     /var/tmp/*     /var/log/* # buildkit
                        
# 2025-11-19 07:33:30  884.00B 复制新文件或目录到容器中
COPY sources.list.arm /etc/apt/sources.list # buildkit
                        
# 2025-11-19 07:33:30  0.00B 设置环境变量 HOME LANGUAGE LANG TERM S6_CMD_WAIT_FOR_SERVICES_MAXTIME S6_VERBOSITY S6_STAGE2_HOOK VIRTUAL_ENV PATH
ENV HOME=/root LANGUAGE=en_US.UTF-8 LANG=en_US.UTF-8 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
                        
# 2025-11-19 07:33:30  0.00B 定义构建参数
ARG DEBIAN_FRONTEND=noninteractive
                        
# 2025-11-19 07:33:30  478.00B 复制文件或目录到容器中
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.v1 /usr/bin/with-contenv # buildkit
                        
# 2025-11-19 07:33:30  945.00B 复制文件或目录到容器中
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit
                        
# 2025-11-19 07:33:30  4.18KB 复制文件或目录到容器中
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
                        
# 2025-11-19 07:33:30  31.19KB 复制文件或目录到容器中
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit
                        
# 2025-11-19 07:33:30  0.00B 添加元数据标签
LABEL maintainer=TheLamer
                        
# 2025-11-19 07:33:30  0.00B 添加元数据标签
LABEL build_version=Linuxserver.io version:- d9aadce2-ls55 Build-date:- 2025-11-18T23:31:59+00:00
                        
# 2025-11-19 07:33:30  0.00B 定义构建参数
ARG WITHCONTENV_VERSION=v1
                        
# 2025-11-19 07:33:30  0.00B 定义构建参数
ARG LSIOWN_VERSION=v1
                        
# 2025-11-19 07:33:30  0.00B 定义构建参数
ARG PKG_INST_VERSION=v1
                        
# 2025-11-19 07:33:30  0.00B 定义构建参数
ARG MODS_VERSION=v3
                        
# 2025-11-19 07:33:30  0.00B 定义构建参数
ARG VERSION=d9aadce2-ls55
                        
# 2025-11-19 07:33:30  0.00B 定义构建参数
ARG BUILD_DATE=2025-11-18T23:31:59+00:00
                        
# 2025-11-19 07:33:30  110.35MB 复制新文件或目录到容器中
COPY /root-out/ / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:b1f0dc1d320c997249b498168cd400e0aa528cdb879058ef6fa51dbff3737436",
    "RepoTags": [
        "linuxserver/code-server:4.106.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:4.106.2-linuxarm64"
    ],
    "RepoDigests": [
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server@sha256:99e06261915ffcf26a2fe503c77877ef2b0a0980ff8bf8c22ce4eb1e2a8b668c"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-11-20T02:23:55.718309388Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8443/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "HOME=/config",
            "LANGUAGE=en_US.UTF-8",
            "LANG=en_US.UTF-8",
            "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": null,
        "WorkingDir": "/",
        "Entrypoint": [
            "/init"
        ],
        "OnBuild": null,
        "Labels": {
            "build_version": "Linuxserver.io version:- 4.106.2-ls306 Build-date:- 2025-11-20T02:22:08+00:00",
            "maintainer": "aptalca",
            "org.opencontainers.image.authors": "linuxserver.io",
            "org.opencontainers.image.created": "2025-11-20T02:22:08+00:00",
            "org.opencontainers.image.description": "[Code-server](https://coder.com) is VS Code running on a remote server, accessible through the browser.  - Code on your Chromebook, tablet, and laptop with a consistent dev environment.  - If you have a Windows or Mac workstation, more easily develop for Linux.  - Take advantage of large cloud servers to speed up tests, compilations, downloads, and more.  - Preserve battery life when you're on the go.  - All intensive computation runs on your server.  - You're no longer running excess instances of Chrome.  ",
            "org.opencontainers.image.documentation": "https://docs.linuxserver.io/images/docker-code-server",
            "org.opencontainers.image.licenses": "GPL-3.0-only",
            "org.opencontainers.image.ref.name": "0ffc04049822301817987f7250e95dd8ae8e79ff",
            "org.opencontainers.image.revision": "0ffc04049822301817987f7250e95dd8ae8e79ff",
            "org.opencontainers.image.source": "https://github.com/linuxserver/docker-code-server",
            "org.opencontainers.image.title": "Code-server",
            "org.opencontainers.image.url": "https://github.com/linuxserver/docker-code-server/packages",
            "org.opencontainers.image.vendor": "linuxserver.io",
            "org.opencontainers.image.version": "4.106.2-ls306"
        }
    },
    "Architecture": "arm64",
    "Os": "linux",
    "Size": 692971055,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/188a07a3d8019df84f31664faaa5e3719cbc758502706bc82a4f160dba5b9f52/diff:/var/lib/docker/overlay2/80a0299c0117519d6d1ae14db4130b74ce87ad3f60567e6c59ff1b62cc92d040/diff:/var/lib/docker/overlay2/471192dcd3294220e862bd886f8d98307b6501743c0744dc5d5003a17f9ff66f/diff:/var/lib/docker/overlay2/f00cd3fad7150e95da782c763b46067276b17bb65757ab878e5cb3162f750446/diff:/var/lib/docker/overlay2/068c2d7db965d51a99f1574276964e48a4729fb2459ebde29b2eed3fffde8da4/diff:/var/lib/docker/overlay2/2a5ee4087a9d5a89212c87c28fc5701000836a6878f31e62748aea1c9817826a/diff:/var/lib/docker/overlay2/e610aef9b18ccb1f9f85c7efe6b214171c18961496a87ed8f7319bdfb0215edc/diff:/var/lib/docker/overlay2/8da4ee9a89455072b5c01cab29659a79a512c4178b2778c875f92a2557a1ac17/diff:/var/lib/docker/overlay2/b6b141f681aa65910865d987476172e2044941368e5d917834e3bef15d3f825e/diff",
            "MergedDir": "/var/lib/docker/overlay2/6af058e1bf5060a30330ce8f2fae94b05572c5cc15fbd9995ab28b3b87ffdeb9/merged",
            "UpperDir": "/var/lib/docker/overlay2/6af058e1bf5060a30330ce8f2fae94b05572c5cc15fbd9995ab28b3b87ffdeb9/diff",
            "WorkDir": "/var/lib/docker/overlay2/6af058e1bf5060a30330ce8f2fae94b05572c5cc15fbd9995ab28b3b87ffdeb9/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:672e4628bbb76d9710371ed155378ec77018869f9ff4ed93629e55aed688caae",
            "sha256:4237b4abe0c583f84633de1da55c1e716dbf60660634932965955c149a90929c",
            "sha256:b106b92f45e25cb129faa89bcde8198048b3911826d3e18d217724971ca7376f",
            "sha256:60a7c63f13a9a7371c4bc6d7e5c154ccbd621b82d581b375dc7d242cdc1ecce0",
            "sha256:e9187f4f032044d267e36149b1b3b7e2300701c3b6d7b8bc0b1b84b6c49ba97a",
            "sha256:12097f8dc5a3f60d07e0a430484daa79e0c998109d2f7a7ddadeed916fbefdad",
            "sha256:d8067f3a0485d813e688ab02bfb9d36421c4040b5053c841efb3c7c44d4979f5",
            "sha256:d880665da1e42317a86efe74ed52776f422491ae00abc76409bcbc23c581fd1d",
            "sha256:eda52dcc3ade334c947b5e5de681a6ecf625e132579c518c8ab2168a65804352",
            "sha256:23cb442bd76109c0e451b1836e4e6c8e6534c4a63d0c7096228043600837bf56"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-11-29T19:04:36.854437942+08:00"
    }
}

更多版本

docker.io/linuxserver/code-server:latest

linux/amd64 docker.io621.76MB2024-12-23 10:53
646

docker.io/linuxserver/code-server:4.101.2

linux/amd64 docker.io620.29MB2025-07-12 10:02
307

docker.io/linuxserver/code-server:latest

linux/arm64 docker.io677.61MB2025-08-28 02:15
123

docker.io/linuxserver/code-server:4.106.2

linux/amd64 docker.io664.84MB2025-11-29 19:01
14

docker.io/linuxserver/code-server:4.106.2

linux/arm64 docker.io692.97MB2025-11-29 19:05
10