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

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

Go语言官方镜像

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

系统OS: debian 12.4 扫描引擎: Trivy 扫描时间: 2025-01-02 15:28

低危漏洞:320 中危漏洞:2091 高危漏洞:499 严重漏洞:31

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-02-07 03:08:41  0.00B 设置工作目录为/go
WORKDIR /go
                        
# 2024-02-07 03:08:41  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
                        
# 2024-02-07 03:08:41  244.76MB 复制新文件或目录到容器中
COPY /usr/local/go/ /usr/local/go/ # buildkit
                        
# 2024-02-07 03:08: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-02-07 03:08:41  0.00B 设置环境变量 GOPATH
ENV GOPATH=/go
                        
# 2024-02-07 03:08:41  0.00B 设置环境变量 GOLANG_VERSION
ENV GOLANG_VERSION=1.20.14
                        
# 2024-02-07 03:08:41  259.17MB 执行命令并创建新的镜像层
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-02-01 07:22:52  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-02-01 07:22:34  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-02-01 06:35:06  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2024-02-01 06:35:05  116.55MB 
/bin/sh -c #(nop) ADD file:6d9e71f0d3afb0b288cf2c06425795d528a142872692072ab1cd1ad275b67d1f in / 
                        
                    

镜像信息

{
    "Id": "sha256:d5beeac3653f7c94aeda867588172915ce848d8d49d4ca24d24245505949b64d",
    "RepoTags": [
        "golang:1.20.14",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.20.14"
    ],
    "RepoDigests": [
        "golang@sha256:8f9af7094d0cb27cc783c697ac5ba25efdc4da35f8526db21f7aebb0b0b4f18a",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang@sha256:c1a446d8f0c5658cc9af7b207a521995cf26bcfe1c9e6a4e148ba4eb8ed2e8b5"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-02-06T19:08: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.20.14",
            "GOPATH=/go"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 845607299,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/c35d94460817d2e7095b012608dfe4659f7ef8201505ceefd2f3e1077f3ad32d/diff:/var/lib/docker/overlay2/7c0c2ecc2268e88d5a52221d24d109c17a4b8a896a3afd56b2443d9552b67e23/diff:/var/lib/docker/overlay2/70c3697e76f37839dde1acdf1b4caef50f6ba1d57f80cfc88c3af6922e11b0ea/diff:/var/lib/docker/overlay2/867361c99ebb5ab1a8aebc51e62aa31ff0583761e8385ef86b5b36e97c1d1524/diff:/var/lib/docker/overlay2/b3431368745b4037bb621e5c5131f42e3f08869de4a95def3d4346fd2adf3fa0/diff:/var/lib/docker/overlay2/b7721c9606fd7da22876cc59751e126b77d2ed2f3807c72b33899c9591035451/diff",
            "MergedDir": "/var/lib/docker/overlay2/c82fea0f2fb20bf008992e5497b779032b85438931752408910395615f9d9001/merged",
            "UpperDir": "/var/lib/docker/overlay2/c82fea0f2fb20bf008992e5497b779032b85438931752408910395615f9d9001/diff",
            "WorkDir": "/var/lib/docker/overlay2/c82fea0f2fb20bf008992e5497b779032b85438931752408910395615f9d9001/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1dae5147cd293b16e7b8c93f778dbf7ceff5c81c2b2704d3e5a98d331cdbe0ab",
            "sha256:bcd354c940e1b2a5c23b23b76d7d6d1df242de7e222aae8ceb32cc6ff1a19673",
            "sha256:9f843c569746b6fc06f17d77a368d723b7a702eb9dd9df8e2c86371cf05f7737",
            "sha256:206456f70e8eb94262b661530e5d17a9121394710b9e70871b44b0026cb4fa69",
            "sha256:b1d525823ba4efb6e4ea747f520fb099409a636845b37ea06255ef0affea77b9",
            "sha256:c2563f9411500916013a456f06486f76ee7a522bcbafe24fa7307fd4d8000c77",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-02T15:28:13.364125282+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
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