logo
mcr.microsoft.com/dotnet/sdk:11.0.100
linux/amd64 mcr.microsoft.com 小烈哥 贡献

这是一个包含Microsoft .NET SDK的Docker镜像。它提供了一个用于构建和运行.NET应用程序的环境,包含了.NET SDK的所有必要组件,开发者可以直接使用该镜像来构建、测试和运行他们的.NET应用程序。

12
浏览次数
869.24MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/dotnet/sdk:11.0.100
源镜像
mcr.microsoft.com/dotnet/sdk:11.0.100
镜像ID
sha256:3dc7d0d00c71c5310a18f063de6326f7b53ccba037bddbfecf0c7c3294cc778f
镜像 TAG
11.0.100
镜像大小
869.24MB
平台架构
linux/amd64
镜像源
mcr.microsoft.com
CMD
/bin/bash
启动入口
工作目录
OS/平台
linux/amd64
镜像创建
2026-11-10T15:59:33.969348241Z
同步时间
2026-11-11 16:35
浏览量
12 次
贡献者
avatar 小烈哥
⚙️ 环境变量 13
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
APP_UID=1654 1
ASPNETCORE_HTTP_PORTS=8080 2
DOTNET_RUNNING_IN_CONTAINER=true 3
DOTNET_VERSION=11.0.0 4
ASPNET_VERSION=11.0.0 5
DOTNET_GENERATE_ASPNET_CERTIFICATE=false 6
DOTNET_NOLOGO=true 7
DOTNET_SDK_VERSION=11.0.100 8
DOTNET_USE_POLLING_FILE_WATCHER=true 9
VSTEST_ARTIFACTS_BASE_DIRECTORY=/tmp 10
NUGET_XMLDOC_MODE=skip 11
POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Ubuntu-26.04 12
🏷️ 镜像标签 4
KeyValue
2026-11-06T10:28:50.132595+00:00 org.opencontainers.image.created
The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide. org.opencontainers.image.description
ubuntu org.opencontainers.image.title
26.04 org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/dotnet/sdk:11.0.100
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/dotnet/sdk:11.0.100  mcr.microsoft.com/dotnet/sdk:11.0.100

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/dotnet/sdk:11.0.100
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/dotnet/sdk:11.0.100  mcr.microsoft.com/dotnet/sdk:11.0.100

Shell快速替换命令

sed -i 's#mcr.microsoft.com/dotnet/sdk:11.0.100#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/dotnet/sdk:11.0.100#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2026-11-10 23:59:33  56.19MB 执行命令并创建新的镜像层
RUN /bin/sh -c powershell_version=7.7.0     && mkdir --parents /usr/share/powershell     && dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.x64     && dotnet nuget locals all --clear     && rm PowerShell.Linux.x64.$powershell_version.nupkg     && ln -s /usr/share/powershell/pwsh /usr/bin/pwsh     && chmod 755 /usr/share/powershell/pwsh     && chmod 755 /usr/share/powershell/.store/powershell.linux.x64/$powershell_version/powershell.linux.x64/$powershell_version/tools/*/any/pwsh     && find /usr/share/powershell -print | grep -i '.*[.]nupkg$' | xargs rm # buildkit
                        
# 2026-11-10 23:59:30  12.96KB 执行命令并创建新的镜像层
RUN /bin/sh -c ln -s /usr/share/dotnet/dnx /usr/bin/dnx     && dotnet help # buildkit
                        
# 2026-11-10 23:59:29  20.91MB 复制新文件或目录到容器中
COPY /PowerShell.Linux.x64.7.7.0.nupkg / # buildkit
                        
# 2026-11-10 23:59:28  439.18MB 复制新文件或目录到容器中
COPY /dotnet /usr/share/dotnet # buildkit
                        
# 2026-11-10 23:59:18  94.90MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update     && apt-get install -y --no-install-recommends         curl         git         libatomic1         wget     && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2026-11-10 23:59:18  0.00B 设置环境变量 DOTNET_GENERATE_ASPNET_CERTIFICATE DOTNET_NOLOGO DOTNET_SDK_VERSION DOTNET_USE_POLLING_FILE_WATCHER VSTEST_ARTIFACTS_BASE_DIRECTORY NUGET_XMLDOC_MODE POWERSHELL_DISTRIBUTION_CHANNEL
ENV DOTNET_GENERATE_ASPNET_CERTIFICATE=false DOTNET_NOLOGO=true DOTNET_SDK_VERSION=11.0.100 DOTNET_USE_POLLING_FILE_WATCHER=true VSTEST_ARTIFACTS_BASE_DIRECTORY=/tmp NUGET_XMLDOC_MODE=skip POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Ubuntu-26.04
                        
# 2026-11-10 23:58:28  27.21MB 复制新文件或目录到容器中
COPY /dotnet /usr/share/dotnet # buildkit
                        
# 2026-11-10 23:58:28  0.00B 设置环境变量 ASPNET_VERSION
ENV ASPNET_VERSION=11.0.0
                        
# 2026-11-10 23:58:13  24.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit
                        
# 2026-11-10 23:58:12  84.21MB 复制新文件或目录到容器中
COPY /dotnet /usr/share/dotnet # buildkit
                        
# 2026-11-10 23:58:12  0.00B 设置环境变量 DOTNET_VERSION
ENV DOTNET_VERSION=11.0.0
                        
# 2026-11-10 23:56:51  9.64KB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd         --gid=$APP_UID         app     && useradd --no-log-init         --uid=$APP_UID         --gid=$APP_UID         --create-home         app # buildkit
                        
# 2026-11-10 23:56:50  45.08MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update     && apt-get install -y --no-install-recommends         ca-certificates                 libc6         libgcc-s1         libicu78         libssl3t64         libstdc++6         tzdata         tzdata-legacy     && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2026-11-10 23:56:50  0.00B 设置环境变量 APP_UID ASPNETCORE_HTTP_PORTS DOTNET_RUNNING_IN_CONTAINER
ENV APP_UID=1654 ASPNETCORE_HTTP_PORTS=8080 DOTNET_RUNNING_IN_CONTAINER=true
                        
# 2026-11-06 18:28:50  179.00B 
umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-f9b0ae373a9aa61a96756fa393588993/images/ubuntu:26.04 /home/buildd/rockcraft-ubuntu-f9b0ae373a9aa61a96756fa393588993/images/.temp_layer.control_data.8947.tar
                        
# 2026-11-06 18:28:50  0.00B 
umoci config --image /home/buildd/rockcraft-ubuntu-f9b0ae373a9aa61a96756fa393588993/images/ubuntu:26.04 --clear=manifest.annotations --manifest.annotation org.opencontainers.image.version=26.04 --manifest.annotation org.opencontainers.image.title=ubuntu --manifest.annotation org.opencontainers.image.created=2026-11-06T10:28:50.132595+00:00 --manifest.annotation org.opencontainers.image.description=The Ubuntu container image maintained by Canonical

Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things.
It is the world's most popular operating system across public clouds and OpenStack clouds.
It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale.
Fast, secure and simple, Ubuntu powers millions of PCs worldwide.

                        
# 2026-11-06 18:28:50  0.00B 
umoci config --image /home/buildd/rockcraft-ubuntu-f9b0ae373a9aa61a96756fa393588993/images/ubuntu:26.04 --clear=config.labels --config.label org.opencontainers.image.version=26.04 --config.label org.opencontainers.image.title=ubuntu --config.label org.opencontainers.image.created=2026-11-06T10:28:50.132595+00:00 --config.label org.opencontainers.image.description=The Ubuntu container image maintained by Canonical

Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things.
It is the world's most popular operating system across public clouds and OpenStack clouds.
It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale.
Fast, secure and simple, Ubuntu powers millions of PCs worldwide.

                        
# 2026-11-06 18:28:50  0.00B 
umoci config --image /home/buildd/rockcraft-ubuntu-f9b0ae373a9aa61a96756fa393588993/images/ubuntu:26.04 --config.env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2026-11-06 18:28:50  0.00B 
umoci config --image /home/buildd/rockcraft-ubuntu-f9b0ae373a9aa61a96756fa393588993/images/ubuntu:26.04 --clear=config.cmd --config.cmd /bin/bash
                        
# 2026-11-06 18:28:50  0.00B 
umoci config --image /home/buildd/rockcraft-ubuntu-f9b0ae373a9aa61a96756fa393588993/images/ubuntu:26.04 --clear=config.entrypoint --clear=config.cmd
                        
# 2026-11-06 18:28:49  101.54MB 
umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-f9b0ae373a9aa61a96756fa393588993/images/ubuntu:rockcraft-base /home/buildd/rockcraft-ubuntu-f9b0ae373a9aa61a96756fa393588993/images/.temp_layer.8947.tar --tag 26.04
                        
                    

镜像信息

{
    "Id": "sha256:3dc7d0d00c71c5310a18f063de6326f7b53ccba037bddbfecf0c7c3294cc778f",
    "RepoTags": [
        "mcr.microsoft.com/dotnet/sdk:11.0.100",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/dotnet/sdk:11.0.100"
    ],
    "RepoDigests": [
        "mcr.microsoft.com/dotnet/sdk@sha256:65f3c7c6a25a239ab3e6719f2896147e7b68242ff2d8818dd70498bde6ef8bea",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/mcr.microsoft.com/dotnet/sdk@sha256:1c3361fe24dc9f20516128b76bc811f3b75599e9aff6d03327a26388e04edd09"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-11-10T15:59:33.969348241Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "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",
            "APP_UID=1654",
            "ASPNETCORE_HTTP_PORTS=8080",
            "DOTNET_RUNNING_IN_CONTAINER=true",
            "DOTNET_VERSION=11.0.0",
            "ASPNET_VERSION=11.0.0",
            "DOTNET_GENERATE_ASPNET_CERTIFICATE=false",
            "DOTNET_NOLOGO=true",
            "DOTNET_SDK_VERSION=11.0.100",
            "DOTNET_USE_POLLING_FILE_WATCHER=true",
            "VSTEST_ARTIFACTS_BASE_DIRECTORY=/tmp",
            "NUGET_XMLDOC_MODE=skip",
            "POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Ubuntu-26.04"
        ],
        "Cmd": [
            "/bin/bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.created": "2026-11-06T10:28:50.132595+00:00",
            "org.opencontainers.image.description": "The Ubuntu container image maintained by Canonical\n\nUbuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things.\nIt is the world's most popular operating system across public clouds and OpenStack clouds.\nIt is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale.\nFast, secure and simple, Ubuntu powers millions of PCs worldwide.\n",
            "org.opencontainers.image.title": "ubuntu",
            "org.opencontainers.image.version": "26.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 869242910,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9067a13b8c1fb090bf945d044ad7550cec663a96c6a286a08d820f24fa7d9245/diff:/var/lib/docker/overlay2/5cf328821abd91d40e6e85ee6146696281b9ac2b9187e6419632ac03ee06791c/diff:/var/lib/docker/overlay2/2336e395d7cc04c35dbbf32bb3ddca89a35e7f094050d655ac574a2374be6cff/diff:/var/lib/docker/overlay2/6b52adc3a7097d665c20e6ccab196bd79c9b6cc7ecd1566e54f80d006dbea6b3/diff:/var/lib/docker/overlay2/4fd75ad20e01c45513fe46ad7fda5edf752222d18fbf4c4f8c029e71f115f186/diff:/var/lib/docker/overlay2/7dbcc2e7c437721a1f1ade9dd51613ba5de1a1844320c2c2ad11d01df24153fb/diff:/var/lib/docker/overlay2/3a0fb3fa448b4e67ef23510c49fe187e3d4891b5750ba750a2c281e9370e1322/diff:/var/lib/docker/overlay2/d45031289efee3e7f513de457938ffdfa59efd366e28d5bb8f7bb7c5391ac53f/diff:/var/lib/docker/overlay2/1a27a2cc6bb7d10f3ebb3120f71f093cb1d385713318c89709d2038c3dd01739/diff:/var/lib/docker/overlay2/93269021628b6e3f5cc2fbe6fff4e1902ac42e2efbddd8f0a468f37c1b4cbb32/diff:/var/lib/docker/overlay2/7ba3274f2a56baeeecac8ea857e0550f3f0a7c370711130db9d34fcbb19d0af2/diff",
            "MergedDir": "/var/lib/docker/overlay2/847a30e2cf4340d1d41b288c8ab3170294b75c5f034abe970847f26eeb04206d/merged",
            "UpperDir": "/var/lib/docker/overlay2/847a30e2cf4340d1d41b288c8ab3170294b75c5f034abe970847f26eeb04206d/diff",
            "WorkDir": "/var/lib/docker/overlay2/847a30e2cf4340d1d41b288c8ab3170294b75c5f034abe970847f26eeb04206d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2a89eb4dbc78f8fe790775a4e807e1355ba2f6b145c8dd7a267a782df1605124",
            "sha256:758b22fe15be2c330dcead0c1b50476c074e113ec507627c6430337ffc9daa5e",
            "sha256:2bc7742f3451da0d64b7497edcad20dd68f617ce95c4c6d28acd0bc6de7cb0bd",
            "sha256:4a4be31ad64af70bf697ad11b184e4dfede90853b8667c10107d22130347993f",
            "sha256:c647a8f10e297873de3fa2b9ca64557ea2b02179c475358a1e078d099128d7a1",
            "sha256:1e3ded8973a403a26892ecf1c6b9e607be8f56c9499a996ed307f51098536276",
            "sha256:48c28cc82ce30dbccf8ff6e9939c40761c8d5d1d12ca69cfb8a9f8a9ac7cc775",
            "sha256:48a551a6dc345a6bef564c0bace8c686a14e5effe90461ee95055d11d1534b17",
            "sha256:babd91e4c99bc6805722e624fad2b95c84486171de3edc229a58e990a56b35c2",
            "sha256:547a8d401652fd965d1ff2c8515ee2d4861eb150d91a9f45eeac24c7a09ddf9e",
            "sha256:b167b1135513e7105e97d01b67c1ffaa65dcbc6273aa381720a65fbc90fd65b0",
            "sha256:e06c1b783cfb2fc54b98a8b5104b4ee2c2aff8255cf9461afb27858f5a2b2959"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-11-11T16:35:01.915016587+08:00"
    }
}

更多版本

mcr.microsoft.com/dotnet/sdk:10.0

linux/amd64 mcr.microsoft.com881.24MB2025-12-10 10:07
1997

mcr.microsoft.com/dotnet/sdk:10.0-alpine

linux/amd64 mcr.microsoft.com748.98MB2026-01-08 23:41
651

mcr.microsoft.com/dotnet/sdk:10.0.100

linux/amd64 mcr.microsoft.com882.10MB2025-12-01 15:27
721

mcr.microsoft.com/dotnet/sdk:10.0.301

linux/amd64 mcr.microsoft.com881.84MB2026-06-15 14:00
731

mcr.microsoft.com/dotnet/sdk:10.0.402

linux/amd64 mcr.microsoft.com917.73MB2026-10-21 12:21
91

mcr.microsoft.com/dotnet/sdk:11.0.100

linux/amd64 mcr.microsoft.com869.24MB2026-11-11 16:35
11

mcr.microsoft.com/dotnet/sdk:6.0

linux/amd64 mcr.microsoft.com744.95MB2026-03-25 15:49
1078

mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim-arm64v8

linux/arm64 mcr.microsoft.com766.35MB2026-07-03 16:04
175

mcr.microsoft.com/dotnet/sdk:6.0-jammy

linux/amd64 mcr.microsoft.com735.65MB2026-10-25 19:58
43

mcr.microsoft.com/dotnet/sdk:8.0

linux/amd64 mcr.microsoft.com844.24MB2025-06-07 00:56
3650

mcr.microsoft.com/dotnet/sdk:8.0

linux/arm64 mcr.microsoft.com906.86MB2025-10-24 11:11
681

mcr.microsoft.com/dotnet/sdk:8.0-jammy

linux/amd64 mcr.microsoft.com825.42MB2025-06-23 13:24
900

mcr.microsoft.com/dotnet/sdk:8.0.418-jammy-amd64

linux/amd64 mcr.microsoft.com828.01MB2026-03-09 00:48
466

mcr.microsoft.com/dotnet/sdk:9.0

linux/amd64 mcr.microsoft.com849.52MB2025-12-09 18:44
734

mcr.microsoft.com/dotnet/sdk:9.0-alpine3.23-amd64

linux/amd64 mcr.microsoft.com704.77MB2026-04-02 17:23
396

mcr.microsoft.com/dotnet/sdk:9.0.311-noble

linux/amd64 mcr.microsoft.com835.92MB2026-04-02 08:55
585
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×