docker.io/golang:1.22.10 linux/amd64

docker.io/golang:1.22.10 - 国内下载镜像源 浏览次数:74
🎉
Go语言官方镜像
这是一个由 Docker Hub 提供的 Go 语言官方镜像,您可以基于这个镜像创建自己的 Go 项目容器。
源镜像 docker.io/golang:1.22.10
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.22.10
镜像ID sha256:361552614c652960e074b298966d0027228ff6562f1f620817af05e524c7d945
镜像TAG 1.22.10
大小 822.20MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 74 次
贡献者
镜像创建 2024-12-03T18:23:12Z
同步时间 2024-12-04 17:46
更新时间 2025-01-17 11:21
环境变量
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.22.10 GOTOOLCHAIN=local GOPATH=/go
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.8 扫描引擎: Trivy 扫描时间: 2024-12-04 17:48

低危漏洞:262 中危漏洞:376 高危漏洞:70 严重漏洞:2

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-12-04 02:23:12  0.00B 设置工作目录为/go
WORKDIR /go
                        
# 2024-12-04 02:23:12  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
                        
# 2024-12-04 02:23:12  222.33MB 复制新文件或目录到容器中
COPY /target/ / # buildkit
                        
# 2024-12-04 02:23:12  0.00B 设置环境变量 PATH
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-12-04 02:23:12  0.00B 设置环境变量 GOPATH
ENV GOPATH=/go
                        
# 2024-12-04 02:23:12  0.00B 设置环境变量 GOTOOLCHAIN
ENV GOTOOLCHAIN=local
                        
# 2024-12-04 02:23:12  0.00B 设置环境变量 GOLANG_VERSION
ENV GOLANG_VERSION=1.22.10
                        
# 2024-12-04 02:23:12  258.50MB 执行命令并创建新的镜像层
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-01-09 09:14:25  177.11MB 执行命令并创建新的镜像层
RUN /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/* # buildkit
                        
# 2023-05-11 07:29:59  47.70MB 执行命令并创建新的镜像层
RUN /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/* # buildkit
                        
# 2023-05-11 07:29:59  116.56MB 
# debian.sh --arch 'amd64' out/ 'bookworm' '@1733097600'
                        
                    

镜像信息

{
    "Id": "sha256:361552614c652960e074b298966d0027228ff6562f1f620817af05e524c7d945",
    "RepoTags": [
        "golang:1.22.10",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.22.10"
    ],
    "RepoDigests": [
        "golang@sha256:7761eeedd113a5751a7e1c135c89c4656a661ad73065dd09035ed3770b063c19",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang@sha256:44e8e54b93d35ff2c78ffac7971aed0084601cc11c2ee984f4805c8c07b21dac"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-12-03T18:23:12Z",
    "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.10",
            "GOTOOLCHAIN=local",
            "GOPATH=/go"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 822201493,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/8684c39bb21f9096a02e731d81314db82578e4547bf383fd0f85a45d146e3f21/diff:/var/lib/docker/overlay2/784c989c7a5539a221f29d3f081403a73be305fa533d91afcc900f2e13c962b2/diff:/var/lib/docker/overlay2/bdc7a7d45472f54b2cccbcd03907ccf2fe1b69e10e3250509c410b6df6a6e4ae/diff:/var/lib/docker/overlay2/3c497550f241980c8330e58338830f0e69c53d68c22429244b417776a7343365/diff:/var/lib/docker/overlay2/db3575a4656fe882350442ad4c79814a36b078e21fcb59e0e89c94e980a87ac8/diff:/var/lib/docker/overlay2/f58f48b18795ac43b9dea77e5ea6526fad0d185e519af2d46b80846c13c22553/diff",
            "MergedDir": "/var/lib/docker/overlay2/806fae276d07f709acec30962825efaf88d2ece3b0a533458abe67e2d98cecae/merged",
            "UpperDir": "/var/lib/docker/overlay2/806fae276d07f709acec30962825efaf88d2ece3b0a533458abe67e2d98cecae/diff",
            "WorkDir": "/var/lib/docker/overlay2/806fae276d07f709acec30962825efaf88d2ece3b0a533458abe67e2d98cecae/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:301c1bb42cc0bc6618fcaf036e8711f2aad66f76697f541e2014a69e1f456aa4",
            "sha256:0e82d78b3ea1b1db9fa3e1f18d6745e0c2380c25f2c7cec420257084e9cc44fe",
            "sha256:c81d4fdb67fcfd8ffbfe9f93f440264d36a2d9e7c4e79b9ae5152c5ed2e3fd36",
            "sha256:3eb6935db8bbc377d9a0eecc36a045d2f2ff22277d06821224371187ab6e7a66",
            "sha256:499b5ed5598d2853bffd63292cd0ed88e93a4cfbe7bba86ad211dd401896bb41",
            "sha256:81e1efaf56be5e7358b0cd252096e2dc4d2523c90fa6c7555538417727482616",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-04T17:46:03.942458539+08:00"
    }
}

更多版本

docker.io/golang:1.22.4-bookworm

linux/amd64 docker.io822.31MB2024-06-11 18:25
394

docker.io/golang:1.22.4-alpine3.20

linux/amd64 docker.io230.56MB2024-06-11 18:27
1114

docker.io/golang:alpine

linux/amd64 docker.io230.61MB2024-07-16 11:03
801

docker.io/golang:1.21-alpine

linux/amd64 docker.io222.19MB2024-09-02 17:07
380

docker.io/golang:1.20.2

linux/amd64 docker.io777.74MB2024-09-13 17:45
348

docker.io/golang:1.21

linux/amd64 docker.io813.93MB2024-09-19 03:04
302

docker.io/golang:1.11

linux/amd64 docker.io796.46MB2024-09-30 11:40
214

docker.io/golang:1.22.5-alpine

linux/amd64 docker.io230.60MB2024-10-12 15:35
171

docker.io/golang:1.23.2-bullseye

linux/amd64 docker.io769.42MB2024-10-17 14:19
203

docker.io/golang:1.23-alpine

linux/amd64 docker.io245.47MB2024-11-01 10:50
296

docker.io/golang:1-alpine

linux/amd64 docker.io245.52MB2024-11-09 12:50
76

docker.io/golang:1.23.1

linux/amd64 docker.io837.65MB2024-11-21 17:33
99

docker.io/golang:1.18.10-buster

linux/amd64 docker.io907.61MB2024-12-03 11:26
63

docker.io/golang:1.13.15

linux/amd64 docker.io803.42MB2024-12-03 11:29
48

docker.io/golang:1.10.8-stretch

linux/amd64 docker.io760.04MB2024-12-03 11:34
49

docker.io/golang:1.17.13-buster

linux/amd64 docker.io884.21MB2024-12-03 11:39
61

docker.io/golang:1.22.10

linux/amd64 docker.io822.20MB2024-12-04 17:46
73

docker.io/golang:1.22.10

linux/arm64 docker.io829.65MB2024-12-04 17:49
71

docker.io/golang:1.21-alpine

linux/arm64 docker.io221.60MB2024-12-05 10:08
62

docker.io/golang:1.14.2

linux/amd64 docker.io809.39MB2024-12-17 10:48
46

docker.io/golang:1.14

linux/amd64 docker.io810.62MB2024-12-17 10:52
49

docker.io/golang:1.21.3-bookworm

linux/amd64 docker.io814.58MB2024-12-17 18:12
51

docker.io/golang:1.22-alpine

linux/amd64 docker.io230.71MB2024-12-18 11:21
58

docker.io/golang:1.17.3-buster

linux/amd64 docker.io883.51MB2024-12-27 14:25
46

docker.io/golang:alpine3.21

linux/amd64 docker.io245.60MB2024-12-27 16:35
51

docker.io/golang:1.22.5-bullseye

linux/amd64 docker.io754.34MB2025-01-15 15:24
17