docker.io/mcr.microsoft.com/dotnet/aspnet:6.0 linux/amd64

docker.io/mcr.microsoft.com/dotnet/aspnet:6.0 - 国内下载镜像源 浏览次数:45
镜像名称 docker.io/mcr.microsoft.com/dotnet/aspnet
镜像描述 .NET Core Runtime and Framework images for ASP.NET. This image contains the .NET Core runtime, plus additional components required to run ASP.NET apps. Use it with the microsoft/dotnet:aspnet base image.
镜像大小 1.54 GB
源镜像 docker.io/mcr.microsoft.com/dotnet/aspnet:6.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mcr.microsoft.com/dotnet/aspnet:6.0
镜像ID sha256:5583b6852b25b65c893b910937145228daf04054907c21409d5c354f9bb64e2a
镜像TAG 6.0
大小 207.96MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 45 次
贡献者
镜像创建 2024-12-03T12:28:28.385012541Z
同步时间 2024-12-17 17:08
更新时间 2025-01-28 16:13
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ASPNETCORE_URLS=http://+:80 DOTNET_RUNNING_IN_CONTAINER=true DOTNET_VERSION=6.0.36 ASPNET_VERSION=6.0.36
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 11.11 扫描引擎: Trivy 扫描时间: 2024-12-17 17:10

低危漏洞:74 中危漏洞:18 高危漏洞:3 严重漏洞:2

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mcr.microsoft.com/dotnet/aspnet:6.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mcr.microsoft.com/dotnet/aspnet:6.0  docker.io/mcr.microsoft.com/dotnet/aspnet:6.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mcr.microsoft.com/dotnet/aspnet:6.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mcr.microsoft.com/dotnet/aspnet:6.0  docker.io/mcr.microsoft.com/dotnet/aspnet:6.0

Shell快速替换命令

sed -i 's#mcr.microsoft.com/dotnet/aspnet:6.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mcr.microsoft.com/dotnet/aspnet:6.0#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-12-03 20:28:28  20.34MB 复制新文件或目录到容器中
COPY /shared/Microsoft.AspNetCore.App /usr/share/dotnet/shared/Microsoft.AspNetCore.App # buildkit
                        
# 2024-12-03 20:28:28  0.00B 设置环境变量 ASPNET_VERSION
ENV ASPNET_VERSION=6.0.36
                        
# 2024-12-03 20:28:22  24.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit
                        
# 2024-12-03 20:28:21  70.72MB 复制新文件或目录到容器中
COPY /dotnet /usr/share/dotnet # buildkit
                        
# 2024-12-03 20:28:21  0.00B 设置环境变量 DOTNET_VERSION
ENV DOTNET_VERSION=6.0.36
                        
# 2024-12-03 20:28:14  36.23MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update     && apt-get install -y --no-install-recommends         ca-certificates                 libc6         libgcc1         libgssapi-krb5-2         libicu67         libssl1.1         libstdc++6         zlib1g     && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2024-12-03 20:28:14  0.00B 设置环境变量 ASPNETCORE_URLS DOTNET_RUNNING_IN_CONTAINER
ENV ASPNETCORE_URLS=http://+:80 DOTNET_RUNNING_IN_CONTAINER=true
                        
# 2024-12-02 08:00:00  80.66MB 
# debian.sh --arch 'amd64' out/ 'bullseye' '@1733097600'
                        
                    

镜像信息

{
    "Id": "sha256:5583b6852b25b65c893b910937145228daf04054907c21409d5c354f9bb64e2a",
    "RepoTags": [
        "mcr.microsoft.com/dotnet/aspnet:6.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mcr.microsoft.com/dotnet/aspnet:6.0"
    ],
    "RepoDigests": [
        "mcr.microsoft.com/dotnet/aspnet@sha256:0faa0ce89de2527c7c4b5dd878875898fbc8225733d8013f890f6e5c54dc2018",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mcr.microsoft.com/dotnet/aspnet@sha256:f104ec3768a298e3250bd8df89552f332617a4ad4a2a7a4052a20f396410ceac"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-12-03T12:28:28.385012541Z",
    "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",
            "ASPNETCORE_URLS=http://+:80",
            "DOTNET_RUNNING_IN_CONTAINER=true",
            "DOTNET_VERSION=6.0.36",
            "ASPNET_VERSION=6.0.36"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 207955920,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/00dcd45dec6441c579afaf86a32b29f0220dc13555bcd6560b498537c5280146/diff:/var/lib/docker/overlay2/751429ff0fee8b428293f2fce98bbec6e8d07453003d6140a3d298305cb951f2/diff:/var/lib/docker/overlay2/2e68b66dbe3c54afd98a5324a2930bbfd3eeec1c3448dcf1e49bb3ee59cb948b/diff:/var/lib/docker/overlay2/12d0644a23b709834a500bc47853c1c0041c2dc276e44395ba0a8a325d447489/diff",
            "MergedDir": "/var/lib/docker/overlay2/361e5bebc7cdfe94b59a5b591ffdb38e0f7c0d922c0526863f64c3d6d7e711cd/merged",
            "UpperDir": "/var/lib/docker/overlay2/361e5bebc7cdfe94b59a5b591ffdb38e0f7c0d922c0526863f64c3d6d7e711cd/diff",
            "WorkDir": "/var/lib/docker/overlay2/361e5bebc7cdfe94b59a5b591ffdb38e0f7c0d922c0526863f64c3d6d7e711cd/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:6a4fdc7ff1bfb236bd5caadebad42a7a36cbab09ee1eff157659d5adb47f6500",
            "sha256:d1368047a87ce11de60ae9b88a2fc95cdd891186711a23ceb29e4b9f363ec771",
            "sha256:c91bbd2d752977830db24589ad00d5c83e0628c2e93ab64a690bc48b5245356e",
            "sha256:bce859c4da42e0a483d780aea78e1191b319ba86254a03d74dfb134508518dd4",
            "sha256:029b5e5a6bb4320a60ef5ef1ee4f7797faa1ab4206b4cfa3d7f2f58047cd36a2"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-17T17:08:45.150653545+08:00"
    }
}

更多版本

docker.io/mcr.microsoft.com/dotnet/aspnet:5.0

linux/amd64 docker.io205.36MB2024-09-14 14:19
154

docker.io/mcr.microsoft.com/dotnet/aspnet:8.0

linux/amd64 docker.io217.39MB2024-10-07 22:32
199

docker.io/mcr.microsoft.com/dotnet/aspnet:6.0

linux/amd64 docker.io207.96MB2024-12-17 17:08
44