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

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

Go语言官方镜像

源镜像 docker.io/library/golang:1.22.3
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.22.3
镜像ID sha256:5905f95343e84d1f8f14aff8f8b83747fb39ea0e0fad52a9d14cf41860295fff
镜像TAG 1.22.3
大小 822.34MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 36 次
贡献者
镜像创建 2024-05-07T16:32:49Z
同步时间 2025-01-07 19:35
更新时间 2025-01-17 13:15
环境变量
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.22.3 GOTOOLCHAIN=local GOPATH=/go
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.5 扫描引擎: Trivy 扫描时间: 2025-01-07 19:36

低危漏洞:310 中危漏洞:1451 高危漏洞:375 严重漏洞:30

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-05-08 00:32:49  0.00B 设置工作目录为/go
WORKDIR /go
                        
# 2024-05-08 00:32:49  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
                        
# 2024-05-08 00:32:49  222.25MB 复制新文件或目录到容器中
COPY /usr/local/go/ /usr/local/go/ # buildkit
                        
# 2024-05-08 00:32:49  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:32:49  0.00B 设置环境变量 GOPATH
ENV GOPATH=/go
                        
# 2024-05-08 00:32:49  0.00B 设置环境变量 GOTOOLCHAIN
ENV GOTOOLCHAIN=local
                        
# 2024-05-08 00:32:49  0.00B 设置环境变量 GOLANG_VERSION
ENV GOLANG_VERSION=1.22.3
                        
# 2024-05-08 00:32:49  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:32:49  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:32:49  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:32:49  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2024-05-08 00:32:49  116.56MB 
/bin/sh -c #(nop) ADD file:b9a9fc37b874060c713002ae1ac220f097edd7c6576116c22bb15aad8229b1b3 in / 
                        
                    

镜像信息

{
    "Id": "sha256:5905f95343e84d1f8f14aff8f8b83747fb39ea0e0fad52a9d14cf41860295fff",
    "RepoTags": [
        "golang:1.22.3",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.22.3"
    ],
    "RepoDigests": [
        "golang@sha256:f43c6f049f04cbbaeb28f0aad3eea15274a7d0a7899a617d0037aec48d7ab010",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang@sha256:aafa9c9a2b8a759dad5372dce120441462eb110cf5a1b1c9862769f453be7bcd"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-05-07T16:32:49Z",
    "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.22.3",
            "GOTOOLCHAIN=local",
            "GOPATH=/go"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 822340085,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/b2d67fa67e42d2cc8db6f72ba95d35b44cba3d004f6c001bdbc69e1415fb536e/diff:/var/lib/docker/overlay2/73c718ce97ee02017e4fa9efd7e1c3b4c8a1a80c932677b66ac227a21d38f981/diff:/var/lib/docker/overlay2/dea70cd571beed3263e36b5c4aaae76014747949359e0d1fd4000a8f9fc23522/diff:/var/lib/docker/overlay2/9c808ed188d7816db86839feda818a961314727ea5ada4e5942c44244610b156/diff:/var/lib/docker/overlay2/a2e019b29b0471f9595c521a1bdff77c36219d95f34a74492f23920385225272/diff:/var/lib/docker/overlay2/2efee6d2ad7c4a98a96d85d5ee5bd2f32180e347201fd0d293e566bdd00bfcf8/diff",
            "MergedDir": "/var/lib/docker/overlay2/7bf1a006ca11ae7be2844a0abfb1beac4e243ab0a6a3bf3e0afc4ce0ae8327af/merged",
            "UpperDir": "/var/lib/docker/overlay2/7bf1a006ca11ae7be2844a0abfb1beac4e243ab0a6a3bf3e0afc4ce0ae8327af/diff",
            "WorkDir": "/var/lib/docker/overlay2/7bf1a006ca11ae7be2844a0abfb1beac4e243ab0a6a3bf3e0afc4ce0ae8327af/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:bbe1a212f7e9f1baaef62491a51254f3adda514c22632ea719f62713fad80f77",
            "sha256:d7d4c2f9d26b2dad32b86ed9739919f76ae423f16aa103924c183048810290de",
            "sha256:8845ab872c1ce04cf64c4755aa585386c7ebe1b7633d977d275d6f2d2146000d",
            "sha256:ed5bf86b995984a5211f5e018e201ed3146923e82a385b0542db04ea4b152076",
            "sha256:dbc78f895659e011c02f7b63ab5c93f33c34880fdc3175f9b9a3f2a0bfb0dd6b",
            "sha256:a8a2007b3a9651cb25203b522b09f261118ec4215a80318a231150732d43422b",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-07T19:34:59.808492514+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
64

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
28

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