mcr.microsoft.com/devcontainers/base:trixie linux/amd64

mcr.microsoft.com/devcontainers/base:trixie - 国内下载镜像源 浏览次数:15

这是一个微软提供的基础Dev Container镜像。它提供了一个轻量级的基础环境,用于构建自定义的开发容器。 该镜像包含了一些常用的开发工具和库,方便开发者快速搭建开发环境。

源镜像 mcr.microsoft.com/devcontainers/base:trixie
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base:trixie
镜像ID sha256:f799bf73e802c75a8a7a27c8bb333846c2a19bcd44a02acd1c9d9cdc32a03232
镜像TAG trixie
大小 918.88MB
镜像源 mcr.microsoft.com
CMD bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 15 次
贡献者
镜像创建 2025-09-03T16:02:15.999669601Z
同步时间 2025-09-30 16:53
更新时间 2025-10-01 02:25
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
镜像标签
base-debian: dev.containers.id v0.4.18: dev.containers.release https://github.com/devcontainers/images: dev.containers.source Wed, 03 Sep 2025 15:58:57 GMT: dev.containers.timestamp trixie: dev.containers.variant [ {"id":"ghcr.io/devcontainers/features/common-utils:2"}, {"id":"ghcr.io/devcontainers/features/git:1","customizations":{"vscode":{"settings":{"github.copilot.chat.codeGeneration.instructions":[{"text":"This dev container includes an up-to-date version of Git, built from source as needed, pre-installed and available on the `PATH`."}]}}}}, {"remoteUser":"vscode"} ]: devcontainer.metadata 2.0.1: version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base:trixie
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base:trixie  mcr.microsoft.com/devcontainers/base:trixie

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base:trixie
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base:trixie  mcr.microsoft.com/devcontainers/base:trixie

Shell快速替换命令

sed -i 's#mcr.microsoft.com/devcontainers/base:trixie#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base:trixie#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base:trixie && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base:trixie  mcr.microsoft.com/devcontainers/base:trixie'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base:trixie && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base:trixie  mcr.microsoft.com/devcontainers/base:trixie'

镜像构建历史


# 2025-09-04 00:02:15  0.00B 添加元数据标签
LABEL devcontainer.metadata=[ {"id":"ghcr.io/devcontainers/features/common-utils:2"}, {"id":"ghcr.io/devcontainers/features/git:1","customizations":{"vscode":{"settings":{"github.copilot.chat.codeGeneration.instructions":[{"text":"This dev container includes an up-to-date version of Git, built from source as needed, pre-installed and available on the `PATH`."}]}}}}, {"remoteUser":"vscode"} ]
                        
# 2025-09-04 00:02:15  0.00B 指定运行容器时使用的用户
USER root
                        
# 2025-09-04 00:02:15  0.00B 定义构建参数
ARG _DEV_CONTAINERS_IMAGE_USER=root
                        
# 2025-09-04 00:02:15  474.98MB 执行命令并创建新的镜像层
RUN /bin/sh -c cp -ar /tmp/build-features-src/git_1 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/git_1  && cd /tmp/dev-container-features/git_1  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/git_1 # buildkit
                        
# 2025-09-03 23:59:37  263.90MB 执行命令并创建新的镜像层
RUN /bin/sh -c cp -ar /tmp/build-features-src/common-utils_0 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/common-utils_0  && cd /tmp/dev-container-features/common-utils_0  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/common-utils_0 # buildkit
                        
# 2025-09-03 23:59:21  87.00B 执行命令并创建新的镜像层
RUN /bin/sh -c echo "_CONTAINER_USER_HOME=$( (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true) | cut -d: -f6)" >> /tmp/dev-container-features/devcontainer-features.builtin.env && echo "_REMOTE_USER_HOME=$( (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true) | cut -d: -f6)" >> /tmp/dev-container-features/devcontainer-features.builtin.env # buildkit
                        
# 2025-09-03 23:59:21  41.00B 复制新文件或目录到容器中
COPY /tmp/build-features/ /tmp/dev-container-features # buildkit
                        
# 2025-09-03 23:59:21  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p /tmp/dev-container-features # buildkit
                        
# 2025-09-03 23:59:21  0.00B 指定运行容器时使用的用户
USER root
                        
# 2025-09-03 23:59:21  0.00B 添加元数据标签
LABEL dev.containers.timestamp=Wed, 03 Sep 2025 15:58:57 GMT
                        
# 2025-09-03 23:59:21  0.00B 添加元数据标签
LABEL dev.containers.source=https://github.com/devcontainers/images
                        
# 2025-09-03 23:59:21  0.00B 添加元数据标签
LABEL dev.containers.release=v0.4.18
                        
# 2025-09-03 23:59:21  0.00B 添加元数据标签
LABEL dev.containers.variant=trixie
                        
# 2025-09-03 23:59:21  0.00B 添加元数据标签
LABEL dev.containers.id=base-debian
                        
# 2025-09-03 23:59:21  0.00B 添加元数据标签
LABEL version=2.0.1
                        
# 2025-09-03 23:59:21  296.00B 复制新文件或目录到容器中
COPY meta.env /usr/local/etc/vscode-dev-containers/ # buildkit
                        
# 2024-02-01 07:01:46  60.16MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		curl 		gnupg 		netbase 		sq 		wget 	; 	apt-get dist-clean # buildkit
                        
# 2024-02-01 07:01:46  119.85MB 
# debian.sh --arch 'amd64' out/ 'trixie' '@1754870400'
                        
                    

镜像信息

{
    "Id": "sha256:f799bf73e802c75a8a7a27c8bb333846c2a19bcd44a02acd1c9d9cdc32a03232",
    "RepoTags": [
        "mcr.microsoft.com/devcontainers/base:trixie",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base:trixie"
    ],
    "RepoDigests": [
        "mcr.microsoft.com/devcontainers/base@sha256:4fe00dc6fc270f2239b6ec06bf35b7c3db6b52be07d22e3098309b7fe8769243",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/devcontainers/base@sha256:206657097717e3bbb6605dc4cfd67437f4f56ec349d9bdfaae759fb9757b9b0a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-09-03T16:02:15.999669601Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "root",
        "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"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "dev.containers.id": "base-debian",
            "dev.containers.release": "v0.4.18",
            "dev.containers.source": "https://github.com/devcontainers/images",
            "dev.containers.timestamp": "Wed, 03 Sep 2025 15:58:57 GMT",
            "dev.containers.variant": "trixie",
            "devcontainer.metadata": "[ {\"id\":\"ghcr.io/devcontainers/features/common-utils:2\"}, {\"id\":\"ghcr.io/devcontainers/features/git:1\",\"customizations\":{\"vscode\":{\"settings\":{\"github.copilot.chat.codeGeneration.instructions\":[{\"text\":\"This dev container includes an up-to-date version of Git, built from source as needed, pre-installed and available on the `PATH`.\"}]}}}}, {\"remoteUser\":\"vscode\"} ]",
            "version": "2.0.1"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 918882062,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/e4f26fd38a9605fc6268c460857c728bfa7b903587978b872dac2d85dc893c96/diff:/var/lib/docker/overlay2/098fce453fef21048e109b6d4a065040c29a03a1cc781cf9310d7637f64bb5d2/diff:/var/lib/docker/overlay2/4b3e0003f180777e4a4929c080cc6116627b1eee3bad44571a8f910ca6b3032d/diff:/var/lib/docker/overlay2/1a901b1f5e3225750b968624135edaddb7eaa570e843f2748811c9040f1e198f/diff:/var/lib/docker/overlay2/9527299e7d84d5b1b9a6b35be385a7cca3fa403692227567b0f1dcb236f6bf7a/diff:/var/lib/docker/overlay2/6093c5d3a2de28d517fd072224aa9f0767b88640ae6784bb32d357f7730312af/diff:/var/lib/docker/overlay2/74eb032dae80674dd4f57541326a43de15703d61a951f3e45cf631bcd248a036/diff",
            "MergedDir": "/var/lib/docker/overlay2/7695ec4c0182dc125e66abaff03d1e47a1f27669ccdcf33bbc5dd39148d4852b/merged",
            "UpperDir": "/var/lib/docker/overlay2/7695ec4c0182dc125e66abaff03d1e47a1f27669ccdcf33bbc5dd39148d4852b/diff",
            "WorkDir": "/var/lib/docker/overlay2/7695ec4c0182dc125e66abaff03d1e47a1f27669ccdcf33bbc5dd39148d4852b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:cb9eb84282d037ad85b02cf671ef6ca766c43bc957f88b048d16dd6deb6e68b8",
            "sha256:7aabebb55065f28d3cdbb2992e7d23690d6bf2c2ba89db800ffd9c9dda4fa56f",
            "sha256:7e5230700f86393c2f282d7a3ff2ba8f31413ac5c6ce1470704774be65146676",
            "sha256:dc98edc9dd0132a06a18435d81433495b6893f0cf5f2f4c5ef807531832bc884",
            "sha256:696690a47f61ce2c6ab478d35fd84999a1a7a890ff2da2003af60983f408fda7",
            "sha256:95d37109735e86ef1c3f8757ce6bd29ec2cbdf003473dfdcd2b4973d19a39414",
            "sha256:7b2725f02b1428bbdaa8bdbaa4e3d13675087ddba747dcffab416b28c2c3e812",
            "sha256:a203ca991be39ae9a0c8b4899f937f612f7bf1989c0aa6d778bc2b2b1da691e1"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-09-30T16:52:34.101689924+08:00"
    }
}

更多版本

mcr.microsoft.com/devcontainers/base:ubuntu-24.04

linux/amd64 mcr.microsoft.com718.97MB2025-07-11 16:55
328

mcr.microsoft.com/devcontainers/base:jammy

linux/amd64 mcr.microsoft.com670.61MB2025-09-04 11:04
52

mcr.microsoft.com/devcontainers/base:trixie

linux/amd64 mcr.microsoft.com918.88MB2025-09-30 16:53
14