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

docker.io/linuxserver/code-server:latest - 国内下载镜像源 浏览次数:24 安全受验证的发布者-linuxserver

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

温馨提示: 这是一个 linux/arm64 系统架构镜像

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

源镜像 docker.io/linuxserver/code-server:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:latest-linuxarm64
镜像ID sha256:e105ede2d43675c73aa96353a0b757c7eb7b93d00d517eec78efa308997ef673
镜像TAG latest-linuxarm64
大小 677.61MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /init
工作目录 /
OS/平台 linux/arm64
浏览量 24 次
贡献者 19******3@qq.com
镜像创建 2025-08-25T23:47:43.095876616Z
同步时间 2025-08-28 02:15
更新时间 2025-08-31 17:26
开放端口
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.103.2-ls294 Build-date:- 2025-08-25T23:45:45+00:00: build_version aptalca: maintainer linuxserver.io: org.opencontainers.image.authors 2025-08-25T23:45:45+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 748dbf9082dd1768091a3d171491b02413f3608d: org.opencontainers.image.ref.name 748dbf9082dd1768091a3d171491b02413f3608d: 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.103.2-ls294: org.opencontainers.image.version

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#linuxserver/code-server:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:latest-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:latest-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:latest-linuxarm64  docker.io/linuxserver/code-server:latest'

Ansible快速分发-Containerd

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

镜像构建历史


# 2025-08-26 07:47:43  0.00B 声明容器运行时监听的端口
EXPOSE map[8443/tcp:{}]
                        
# 2025-08-26 07:47:43  3.53KB 复制新文件或目录到容器中
COPY /root / # buildkit
                        
# 2025-08-26 07:47:42  525.96MB 执行命令并创建新的镜像层
RUN |4 BUILD_DATE=2025-08-25T23:45:45+00:00 VERSION=4.103.2-ls294 CODE_RELEASE=4.103.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-08-26 07:47:42  0.00B 设置环境变量 HOME
ENV HOME=/config
                        
# 2025-08-26 07:47:42  0.00B 定义构建参数
ARG DEBIAN_FRONTEND=noninteractive
                        
# 2025-08-26 07:47:42  0.00B 添加元数据标签
LABEL maintainer=aptalca
                        
# 2025-08-26 07:47:42  0.00B 添加元数据标签
LABEL build_version=Linuxserver.io version:- 4.103.2-ls294 Build-date:- 2025-08-25T23:45:45+00:00
                        
# 2025-08-26 07:47:42  0.00B 定义构建参数
ARG CODE_RELEASE=4.103.2
                        
# 2025-08-26 07:47:42  0.00B 定义构建参数
ARG VERSION=4.103.2-ls294
                        
# 2025-08-26 07:47:42  0.00B 定义构建参数
ARG BUILD_DATE=2025-08-25T23:45:45+00:00
                        
# 2025-08-26 07:47:42  0.00B 设置环境变量 LSIO_FIRST_PARTY
ENV LSIO_FIRST_PARTY=true
                        
# 2025-08-06 07:40:51  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/init"]
                        
# 2025-08-06 07:40:51  9.44KB 复制新文件或目录到容器中
COPY root/ / # buildkit
                        
# 2025-08-06 07:40:51  41.31MB 执行命令并创建新的镜像层
RUN |7 BUILD_DATE=2025-08-05T23:38:12+00:00 VERSION=ae4fe97a-ls46 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-08-06 07:40:24  884.00B 复制新文件或目录到容器中
COPY sources.list.arm /etc/apt/sources.list # buildkit
                        
# 2025-08-06 07:40:23  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-08-06 07:40:23  0.00B 定义构建参数
ARG DEBIAN_FRONTEND=noninteractive
                        
# 2025-08-06 07:40:23  478.00B 复制文件或目录到容器中
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.v1 /usr/bin/with-contenv # buildkit
                        
# 2025-08-06 07:40:23  945.00B 复制文件或目录到容器中
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit
                        
# 2025-08-06 07:40:23  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-08-06 07:40:23  31.11KB 复制文件或目录到容器中
ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit
                        
# 2025-08-06 07:40:23  0.00B 添加元数据标签
LABEL maintainer=TheLamer
                        
# 2025-08-06 07:40:23  0.00B 添加元数据标签
LABEL build_version=Linuxserver.io version:- ae4fe97a-ls46 Build-date:- 2025-08-05T23:38:12+00:00
                        
# 2025-08-06 07:40:23  0.00B 定义构建参数
ARG WITHCONTENV_VERSION=v1
                        
# 2025-08-06 07:40:23  0.00B 定义构建参数
ARG LSIOWN_VERSION=v1
                        
# 2025-08-06 07:40:23  0.00B 定义构建参数
ARG PKG_INST_VERSION=v1
                        
# 2025-08-06 07:40:23  0.00B 定义构建参数
ARG MODS_VERSION=v3
                        
# 2025-08-06 07:40:23  0.00B 定义构建参数
ARG VERSION=ae4fe97a-ls46
                        
# 2025-08-06 07:40:23  0.00B 定义构建参数
ARG BUILD_DATE=2025-08-05T23:38:12+00:00
                        
# 2025-08-06 07:40:22  110.28MB 复制新文件或目录到容器中
COPY /root-out/ / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:e105ede2d43675c73aa96353a0b757c7eb7b93d00d517eec78efa308997ef673",
    "RepoTags": [
        "linuxserver/code-server:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server:latest-linuxarm64"
    ],
    "RepoDigests": [
        "linuxserver/code-server@sha256:d85f12f63fbeb0b91d337f1b9fee0409b057d9fbb106b987305856112dc7873a",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/linuxserver/code-server@sha256:3b81071f015adcd8aa66dbb6fedb2033ba3edb5804d4192e176865483fcd6c88"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-08-25T23:47:43.095876616Z",
    "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.103.2-ls294 Build-date:- 2025-08-25T23:45:45+00:00",
            "maintainer": "aptalca",
            "org.opencontainers.image.authors": "linuxserver.io",
            "org.opencontainers.image.created": "2025-08-25T23:45:45+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": "748dbf9082dd1768091a3d171491b02413f3608d",
            "org.opencontainers.image.revision": "748dbf9082dd1768091a3d171491b02413f3608d",
            "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.103.2-ls294"
        }
    },
    "Architecture": "arm64",
    "Os": "linux",
    "Size": 677608858,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/aa222faccda14e5724d019e725545be914314921c60c2b43a537860093249c64/diff:/var/lib/docker/overlay2/e4ea7bea9d2ea10f421c5bf2ae0f5a78a49ad8c3f7ed0c733e401eb97b052889/diff:/var/lib/docker/overlay2/ed21721a53b947fd1047ac01593a322972678ceb9890f744421d0afa9266999b/diff:/var/lib/docker/overlay2/7cf5707fda83ab210f5251622200554c84e1bcaba2071a7a7dfa9bf121b2b979/diff:/var/lib/docker/overlay2/3931e7ff5b77dc48affee6c519b24ab516358657abe6bb31a5d0d1c30b0cf6f5/diff:/var/lib/docker/overlay2/cc6122a0c1d34c37e3014d2ea3f43d1bae2ea1d9c8e3efe800acef9fc804b294/diff:/var/lib/docker/overlay2/a82ea2027be2e5f9410bdd859b9347607adc7544bab6195ce7c3dfac71c45e1f/diff:/var/lib/docker/overlay2/acc87665a6d91398ffa147fa3ec694c8cfac9ea109ca6aff9fae4f388561e293/diff:/var/lib/docker/overlay2/49a4e428aed042f9d29a30c20efa1d259759a8a3e1ce6318f9d953572647d246/diff",
            "MergedDir": "/var/lib/docker/overlay2/645214f9f07e763ef20b72e7e63300b7145569ed7f2747cf6e0a9dc302195296/merged",
            "UpperDir": "/var/lib/docker/overlay2/645214f9f07e763ef20b72e7e63300b7145569ed7f2747cf6e0a9dc302195296/diff",
            "WorkDir": "/var/lib/docker/overlay2/645214f9f07e763ef20b72e7e63300b7145569ed7f2747cf6e0a9dc302195296/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1715f8ca55fba03991cddf25da0856c5335d9d2f30a02510c78b8c6f28738751",
            "sha256:9fb3fcee28a57a2dfecee72ed9e6cd097fb0c2acbed64277d8829e41da7c19c7",
            "sha256:464609dd830a7edb4548d24e1eb89f38b0b123d435d96417877dd12bd26548cd",
            "sha256:090be62770091bf035923199fda8280dfe6d3270fa0c81bc8ee2b51877f8da5f",
            "sha256:8d18367f80f55630b5c14a92b7a790f79a280c12e085d8ba2b450161fca65c8b",
            "sha256:c53c87d86970a5450c3daea420f71fbb242c1c43da2b436e88083aeacad5e697",
            "sha256:158fecd7c72549641ed7a14cc0451556bd24ea0aa8bcd44a386dd968b18bcdfe",
            "sha256:aee40b7859d166c4b63074ca6f9e43fa45e1b8bb68b321c029e6f098e5484cf5",
            "sha256:22be1a00d8589c871d252080f28144a6d7be858b4fc69a08a2e1524a9c63d769",
            "sha256:7461b5815612b6edba7c46c30e59e61cd07ad68b624049b111d3cbe73ee6fabe"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-08-28T02:13:31.013785694+08:00"
    }
}

更多版本

docker.io/linuxserver/code-server:latest

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

docker.io/linuxserver/code-server:4.101.2

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

docker.io/linuxserver/code-server:latest

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