ghcr.io/coder/coder:latest linux/amd64

ghcr.io/coder/coder:latest - 国内下载镜像源 浏览次数:37

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

```html

ghcr.io/coder/coder 是 Coder 的 Docker 镜像。Coder 是一个用于在云端或本地运行的开发环境平台,它提供了一个基于浏览器的 IDE,支持多种编程语言和框架。这个镜像包含了运行 Coder 所需的所有依赖项。

```
源镜像 ghcr.io/coder/coder:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coder/coder:latest
镜像ID sha256:150bf96f54c8f44e30ba86b0c2bfbb16a6baef3bd825afbf2ca53185685c5eb6
镜像TAG latest
大小 349.88MB
镜像源 ghcr.io
CMD
启动入口 /opt/coder server
工作目录 /home/coder
OS/平台 linux/amd64
浏览量 37 次
贡献者
镜像创建 2025-03-19T22:00:32.019702647Z
同步时间 2025-03-21 14:12
更新时间 2025-03-29 14:19
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt HOME=/home/coder
镜像标签
A tool for provisioning self-hosted development environments with Terraform.: org.opencontainers.image.description https://github.com/coder/coder: org.opencontainers.image.source Coder: org.opencontainers.image.title https://github.com/coder/coder: org.opencontainers.image.url 2.20.2: org.opencontainers.image.version

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coder/coder:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coder/coder:latest  ghcr.io/coder/coder:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coder/coder:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coder/coder:latest  ghcr.io/coder/coder:latest

Shell快速替换命令

sed -i 's#ghcr.io/coder/coder:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coder/coder:latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coder/coder:latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coder/coder:latest  ghcr.io/coder/coder:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coder/coder:latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coder/coder:latest  ghcr.io/coder/coder:latest'

镜像构建历史


# 2025-03-20 06:00:32  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/opt/coder" "server"]
                        
# 2025-03-20 06:00:32  226.58MB 复制新文件或目录到容器中
COPY --chown=1000:1000 --chmod=755 coder /opt/coder # buildkit
                        
# 2025-03-20 06:00:32  0.00B 添加元数据标签
LABEL org.opencontainers.image.title=Coder org.opencontainers.image.description=A tool for provisioning self-hosted development environments with Terraform. org.opencontainers.image.url=https://github.com/coder/coder org.opencontainers.image.source=https://github.com/coder/coder org.opencontainers.image.version=2.20.2
                        
# 2025-03-20 06:00:32  0.00B 定义构建参数
ARG CODER_VERSION
                        
# 2025-03-20 06:00:20  0.00B 设置工作目录为/home/coder
WORKDIR /home/coder
                        
# 2025-03-20 06:00:20  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt
                        
# 2025-03-20 06:00:20  0.00B 设置环境变量 HOME
ENV HOME=/home/coder
                        
# 2025-03-20 06:00:20  0.00B 指定运行容器时使用的用户
USER 1000:1000
                        
# 2025-03-20 06:00:20  90.24MB 执行命令并创建新的镜像层
RUN /bin/sh -c ARCH="$(arch)"; if [ "${ARCH}" == "x86_64" ]; then ARCH="amd64"; elif [ "${ARCH}" == "aarch64" ]; then ARCH="arm64"; fi; wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.10.5/terraform_1.10.5_linux_${ARCH}.zip" && 		busybox unzip /tmp/terraform.zip -d /usr/local/bin && 		rm -f /tmp/terraform.zip && 		chmod +x /usr/local/bin/terraform && 		terraform --version # buildkit
                        
# 2025-03-20 06:00:18  25.23MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add --no-cache 		curl 		wget 		bash 		git 		openssl 		openssh-client && 	addgroup 		-g 1000 		coder && 	adduser 		-D 		-s /bin/bash 		-h /home/coder 		-u 1000 		-G coder 		coder # buildkit
                        
# 2025-01-08 20:07:30  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2025-01-08 20:07:30  7.83MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.21.2-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:150bf96f54c8f44e30ba86b0c2bfbb16a6baef3bd825afbf2ca53185685c5eb6",
    "RepoTags": [
        "ghcr.io/coder/coder:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coder/coder:latest"
    ],
    "RepoDigests": [
        "ghcr.io/coder/coder@sha256:3d402c934fcfbe4f7843df77a1ba383ac6e299800575d329b1521f174fe633db",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coder/coder@sha256:4a1eb47add8f90374003192fc754558b9e94843545ec05e5e8f3afc18a16c890"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-03-19T22:00:32.019702647Z",
    "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:/opt",
            "HOME=/home/coder"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/home/coder",
        "Entrypoint": [
            "/opt/coder",
            "server"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.description": "A tool for provisioning self-hosted development environments with Terraform.",
            "org.opencontainers.image.source": "https://github.com/coder/coder",
            "org.opencontainers.image.title": "Coder",
            "org.opencontainers.image.url": "https://github.com/coder/coder",
            "org.opencontainers.image.version": "2.20.2"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 349883066,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/16e61456ccb3227d7ccd4271cb5690a3101df49eb7f785bf13e1c1f0082ed2fc/diff:/var/lib/docker/overlay2/e6257e2144793fe2511ebed6cf7baf2e12cd1e120b1aef97cf702b05db73c9f4/diff:/var/lib/docker/overlay2/375eefc291630616da46d6c45dfdf1e623a906c03348faba76d08022bc13cd4f/diff:/var/lib/docker/overlay2/d20d579acee6b92a841ecc27f4d08dddd63e6a78b9aab3e87eac393e91dd0045/diff",
            "MergedDir": "/var/lib/docker/overlay2/673cc822457a259a555094ca14fb77f78f1ca31416d7492773ed250e4b68047d/merged",
            "UpperDir": "/var/lib/docker/overlay2/673cc822457a259a555094ca14fb77f78f1ca31416d7492773ed250e4b68047d/diff",
            "WorkDir": "/var/lib/docker/overlay2/673cc822457a259a555094ca14fb77f78f1ca31416d7492773ed250e4b68047d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a0904247e36a7726c03c71ee48f3e64462021c88dafeb13f37fdaf613b27f11c",
            "sha256:3dc92a8888cafad305b7c7bd6cd7c46736642247112984e9f2f0101db5f4a9d0",
            "sha256:e27b1118a94901d6e2aa00f0b1c7808ead7e714c04128ead1780db7f92c7f76a",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:52030d259e883606e7b36ec982cd48e47fc0a2a5031951f2108c2dbe774e7377"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-21T14:12:08.174054651+08:00"
    }
}

更多版本

ghcr.io/coder/coder:v2.19.1

linux/amd64 ghcr.io348.54MB2025-03-21 14:06
33

ghcr.io/coder/coder:latest

linux/amd64 ghcr.io349.88MB2025-03-21 14:12
36