docker.io/golang:1.14.2 linux/amd64

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

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

低危漏洞:816 中危漏洞:3507 高危漏洞:1962 严重漏洞:151

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2020-04-24 04:05:15  0.00B 
/bin/sh -c #(nop) WORKDIR /go
                        
# 2020-04-24 04:05:15  0.00B 
/bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
                        
# 2020-04-24 04:05:14  0.00B 
/bin/sh -c #(nop)  ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2020-04-24 04:05:14  0.00B 
/bin/sh -c #(nop)  ENV GOPATH=/go
                        
# 2020-04-24 04:05:13  333.95MB 
/bin/sh -c set -eux; 		dpkgArch="$(dpkg --print-architecture)"; 	case "${dpkgArch##*-}" in 		amd64) goRelArch='linux-amd64'; goRelSha256='6272d6e940ecb71ea5636ddb5fab3933e087c1356173c61f4a803895e947ebb3' ;; 		armhf) goRelArch='linux-armv6l'; goRelSha256='eb4550ba741506c2a4057ea4d3a5ad7ed5a887de67c7232f1e4795464361c83c' ;; 		arm64) goRelArch='linux-arm64'; goRelSha256='bb6d22fe5806352c3d0826676654e09b6e41eb1af52e8d506d3fa85adf7f8d88' ;; 		i386) goRelArch='linux-386'; goRelSha256='cab5f51e6ffb616c6ee963c3d0650ca4e3c4108307c44f2baf233fcb8ff098f6' ;; 		ppc64el) goRelArch='linux-ppc64le'; goRelSha256='48c22268c81ced9084a43bbe2c1596d3e636b5560b30a32434a7f15e561de160' ;; 		s390x) goRelArch='linux-s390x'; goRelSha256='501cc919648c9d85b901963303c5061ea6814c80f0d35fda9e62980d3ff58cf4' ;; 		*) goRelArch='src'; goRelSha256='98de84e69726a66da7b4e58eac41b99cbe274d7e8906eeb8a5b7eb0aadee7f7c'; 			echo >&2; echo >&2 "warning: current architecture ($dpkgArch) does not have a corresponding Go binary release; will be building from source"; echo >&2 ;; 	esac; 		url="https://golang.org/dl/go${GOLANG_VERSION}.${goRelArch}.tar.gz"; 	wget -O go.tgz "$url"; 	echo "${goRelSha256} *go.tgz" | sha256sum -c -; 	tar -C /usr/local -xzf go.tgz; 	rm go.tgz; 		if [ "$goRelArch" = 'src' ]; then 		echo >&2; 		echo >&2 'error: UNIMPLEMENTED'; 		echo >&2 'TODO install golang-any from jessie-backports for GOROOT_BOOTSTRAP (and uninstall after build)'; 		echo >&2; 		exit 1; 	fi; 		export PATH="/usr/local/go/bin:$PATH"; 	go version
                        
# 2020-04-24 04:05:00  0.00B 
/bin/sh -c #(nop)  ENV GOLANG_VERSION=1.14.2
                        
# 2020-04-24 04:04:59  181.84MB 
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends 		g++ 		gcc 		libc6-dev 		make 		pkg-config 	&& rm -rf /var/lib/apt/lists/*
                        
# 2020-04-23 08:50:29  145.53MB 
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends 		git 		mercurial 		openssh-client 		subversion 				procps 	&& rm -rf /var/lib/apt/lists/*
                        
# 2020-04-23 08:50:06  17.54MB 
/bin/sh -c set -ex; 	if ! command -v gpg > /dev/null; then 		apt-get update; 		apt-get install -y --no-install-recommends 			gnupg 			dirmngr 		; 		rm -rf /var/lib/apt/lists/*; 	fi
                        
# 2020-04-23 08:50:01  16.48MB 
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends 		ca-certificates 		curl 		netbase 		wget 	&& rm -rf /var/lib/apt/lists/*
                        
# 2020-04-23 08:20:17  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2020-04-23 08:20:17  114.05MB 
/bin/sh -c #(nop) ADD file:f086177965196842af3c15f50a7f6ad7912aaa7bf73a60b1d00e3129265eec9a in / 
                        
                    

镜像信息

{
    "Id": "sha256:2421885b04daf2f5095c46fe1889887d89e5ab77157e54423d97ea6816db54b6",
    "RepoTags": [
        "golang:1.14.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.14.2"
    ],
    "RepoDigests": [
        "golang@sha256:1bd634c5a72bfa7fb48d54e37dd5d8174161bd6ca601b7d132c7b68eaf513c6b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang@sha256:09b04534495af5148e4cc67c8ac55408307c2d7b9e6ce70f6e05f7f02e427f68"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2020-04-23T20:05:15.522339486Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "18.09.7",
    "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.14.2",
            "GOPATH=/go"
        ],
        "Cmd": [
            "bash"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:91df275e6e22e4aadd4ba41cd0cf094b71cb0d6df531a824a16554527ae82f37",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 809388754,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/94f35b4fbf02f0dc7e3e5a6f06c05212db461dc1e6d733a2bbc33c44b464ee42/diff:/var/lib/docker/overlay2/bf1970eeb5a4834417ab01b4171707954ebf779679ef93415145605cd300eede/diff:/var/lib/docker/overlay2/502b9b621761a5af4679cb774a221182e4dfac476c1a8e462bb21f6672513ef2/diff:/var/lib/docker/overlay2/91d9e18fa322d38709486514af2fe2ff12c0566ca9fca2a4695a86600f4b663d/diff:/var/lib/docker/overlay2/fc4491edf980a7af6d3bb918d47f91c6a8bc3c5b8f83aa907b1775c7c5e1be18/diff:/var/lib/docker/overlay2/2edbe396559bb5a94c519dfbbcd8ff1b34567eacaf80a3852baf8869f98564e2/diff",
            "MergedDir": "/var/lib/docker/overlay2/184402be150e3b31964bc45b5abf9a9e3c3152749d722f92dbadeabae5ae8060/merged",
            "UpperDir": "/var/lib/docker/overlay2/184402be150e3b31964bc45b5abf9a9e3c3152749d722f92dbadeabae5ae8060/diff",
            "WorkDir": "/var/lib/docker/overlay2/184402be150e3b31964bc45b5abf9a9e3c3152749d722f92dbadeabae5ae8060/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e40d297cf5f89a9822af4c2f63caa2f2085d5aa188137506918e603774b083cb",
            "sha256:5f77a51ade6af1c864ed52812e088e9f113fae0de8d4da9992b6862ec15919a8",
            "sha256:9794a3b3ed45179d4ec1b8b7d422f315dbabb4f9d3316494b8be4f0071463c2b",
            "sha256:8967306e673ef8aac2897fb8fe5868459671f82c323f1f1d307b63210023c55b",
            "sha256:ef234633eec2c261202d8aacec2a3e6b43c5cb401804b2f89b9580555ef9b9db",
            "sha256:f0c38edb3fff36bfc97c23d4c7375d87aafdc4e1329cb702832412e780c084af",
            "sha256:6e69dbdef94bd3fd253050913229a7e81114cd85d1a15971613c9fa0426f2baf"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-17T10:48:17.706553852+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
800

docker.io/golang:1.21-alpine

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

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
202

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
75

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
47

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
45

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
50

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
16