docker.io/library/golang:1.21.10 linux/amd64

docker.io/library/golang:1.21.10 - 国内下载镜像源 浏览次数:64 安全受验证的发布者-Docker

Go语言官方镜像

源镜像 docker.io/library/golang:1.21.10
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.21.10
镜像ID sha256:0a5922bb6e2000f3c05b495be7d8e9967656beaaf263a08dc68ad81afd2f6a07
镜像TAG 1.21.10
大小 813.94MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 64 次
贡献者 84******1@qq.com
镜像创建 2024-05-07T16:28:41Z
同步时间 2024-11-23 00:57
更新时间 2025-01-16 01:35
环境变量
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.21.10 GOTOOLCHAIN=local GOPATH=/go
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.5 扫描引擎: Trivy 扫描时间: 2024-11-23 00:59

低危漏洞:301 中危漏洞:1270 高危漏洞:346 严重漏洞:30

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.21.10
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.21.10  docker.io/library/golang:1.21.10

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.21.10
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.21.10  docker.io/library/golang:1.21.10

Shell快速替换命令

sed -i 's#library/golang:1.21.10#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.21.10#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.21.10 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.21.10  docker.io/library/golang:1.21.10'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.21.10 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.21.10  docker.io/library/golang:1.21.10'

镜像构建历史


# 2024-05-08 00:28:41  0.00B 设置工作目录为/go
WORKDIR /go
                        
# 2024-05-08 00:28:41  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
                        
# 2024-05-08 00:28:41  213.85MB 复制新文件或目录到容器中
COPY /usr/local/go/ /usr/local/go/ # buildkit
                        
# 2024-05-08 00:28:41  0.00B 设置环境变量 PATH
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-05-08 00:28:41  0.00B 设置环境变量 GOPATH
ENV GOPATH=/go
                        
# 2024-05-08 00:28:41  0.00B 设置环境变量 GOTOOLCHAIN
ENV GOTOOLCHAIN=local
                        
# 2024-05-08 00:28:41  0.00B 设置环境变量 GOLANG_VERSION
ENV GOLANG_VERSION=1.21.10
                        
# 2024-05-08 00:28:41  258.40MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		g++ 		gcc 		libc6-dev 		make 		pkg-config 	; 	rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2024-05-08 00:28:41  176.68MB 
/bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		git 		mercurial 		openssh-client 		subversion 				procps 	; 	rm -rf /var/lib/apt/lists/*
                        
# 2024-05-08 00:28:41  48.44MB 
/bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		curl 		gnupg 		netbase 		sq 		wget 	; 	rm -rf /var/lib/apt/lists/*
                        
# 2024-05-08 00:28:41  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2024-05-08 00:28:41  116.56MB 
/bin/sh -c #(nop) ADD file:b9a9fc37b874060c713002ae1ac220f097edd7c6576116c22bb15aad8229b1b3 in / 
                        
                    

镜像信息

{
    "Id": "sha256:0a5922bb6e2000f3c05b495be7d8e9967656beaaf263a08dc68ad81afd2f6a07",
    "RepoTags": [
        "golang:1.21.10",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.21.10"
    ],
    "RepoDigests": [
        "golang@sha256:16438a8e66c0c984f732e815ee5b7d715b8e33e81bac6d6a3750b1067744e7ca",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang@sha256:4eece496f1bf11f3d6074ceea92d968e2273cc4adf27996af74ec467ad6a108e"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-05-07T16:28:41Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "GOLANG_VERSION=1.21.10",
            "GOTOOLCHAIN=local",
            "GOPATH=/go"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 813939405,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3c8f120514075ca8657b88ddd48db1635b940f9bb98cfb2836ee2b2afc35a8ba/diff:/var/lib/docker/overlay2/e982faf217ccc36499fdd2ee9d6db124653f99a813b091c2694b451bd8b50d9b/diff:/var/lib/docker/overlay2/595390ceca61dc9fe0a3081bac822557a02b487a99bcfb53dcc4f2b03eff8afc/diff:/var/lib/docker/overlay2/a032b20857150561485ba4d264c0934f8b26f6830b546ba526b12dabe105749a/diff:/var/lib/docker/overlay2/ea7585fecc977894a5401253ead31693d8d0c10549dd33a90ee61c201755bb1e/diff:/var/lib/docker/overlay2/b21e10f2c6673ef4975cb462dcd2db03bbf287b4f8261ea59ff6ac9a55f9bdf7/diff",
            "MergedDir": "/var/lib/docker/overlay2/f517e196d97da031fad1955218228488026c16acdd6ff5dc28b97c1d235b961f/merged",
            "UpperDir": "/var/lib/docker/overlay2/f517e196d97da031fad1955218228488026c16acdd6ff5dc28b97c1d235b961f/diff",
            "WorkDir": "/var/lib/docker/overlay2/f517e196d97da031fad1955218228488026c16acdd6ff5dc28b97c1d235b961f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:bbe1a212f7e9f1baaef62491a51254f3adda514c22632ea719f62713fad80f77",
            "sha256:d7d4c2f9d26b2dad32b86ed9739919f76ae423f16aa103924c183048810290de",
            "sha256:8845ab872c1ce04cf64c4755aa585386c7ebe1b7633d977d275d6f2d2146000d",
            "sha256:cba934a349a19441335fec21f36a2e303d0c7ccc61fe5c812f6f562028cc3f79",
            "sha256:69296614f7d84a5c14ccc6870f1129e94f82259cb3d4ff214a0a0646a4d01b7e",
            "sha256:19cb573c2fcd4751449b9e2f2160a218aca7bac4ebe8b524ed1ec76adb96e349",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-23T00:57:29.777397598+08:00"
    }
}

更多版本

docker.io/library/golang:1.21-alpine3.18

linux/arm64 docker.io220.43MB2024-08-15 14:52
250

docker.io/library/golang:1.21-alpine3.18

linux/amd64 docker.io221.72MB2024-08-15 15:00
196

docker.io/library/golang:1.22.5

linux/amd64 docker.io822.34MB2024-09-04 18:52
327

docker.io/library/golang:1.22.4-bullseye

linux/amd64 docker.io754.29MB2024-09-19 12:45
217

docker.io/library/golang:1.16

linux/amd64 docker.io919.63MB2024-10-11 10:14
101

docker.io/library/golang:1.16

linux/arm64 docker.io789.68MB2024-10-11 14:51
171

docker.io/library/golang:1.19

linux/arm64 docker.io947.65MB2024-11-06 15:48
95

docker.io/library/golang:1.21.5

linux/amd64 docker.io814.55MB2024-11-13 17:16
68

docker.io/library/golang:1.22-alpine3.20

linux/amd64 docker.io230.66MB2024-11-20 18:23
83

docker.io/library/golang:1.21.10

linux/amd64 docker.io813.94MB2024-11-23 00:57
63

docker.io/library/golang:1.23.3-bookworm

linux/amd64 docker.io837.77MB2024-11-25 14:39
72

docker.io/library/golang:1.23.4-alpine3.20

linux/amd64 docker.io245.54MB2024-12-05 16:30
105

docker.io/library/golang:1.23.4

linux/amd64 docker.io837.09MB2024-12-16 16:31
77

docker.io/library/golang:1.20.14

linux/amd64 docker.io845.61MB2025-01-02 15:28
27

docker.io/library/golang:1.20.14-bullseye

linux/amd64 docker.io777.50MB2025-01-02 15:53
25

docker.io/library/golang:1.23.4-alpine

linux/amd64 docker.io245.55MB2025-01-07 17:35
38

docker.io/library/golang:1.22.3

linux/amd64 docker.io822.34MB2025-01-07 19:35
35

docker.io/library/golang:1.22.1-alpine

linux/amd64 docker.io230.14MB2025-01-14 00:27
22