docker.io/golang:1.10.8-stretch linux/amd64

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

系统OS: debian 9.7 扫描引擎: Trivy 扫描时间: 2024-12-03 11:36

低危漏洞:193 中危漏洞:418 高危漏洞:432 严重漏洞:74

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2019-02-06 20:54:14  0.00B 
/bin/sh -c #(nop) WORKDIR /go
                        
# 2019-02-06 20:54:14  0.00B 
/bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
                        
# 2019-02-06 20:54:13  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
                        
# 2019-02-06 20:54:13  0.00B 
/bin/sh -c #(nop)  ENV GOPATH=/go
                        
# 2019-02-06 20:54:12  324.84MB 
/bin/sh -c set -eux; 		dpkgArch="$(dpkg --print-architecture)"; 	case "${dpkgArch##*-}" in 		amd64) goRelArch='linux-amd64'; goRelSha256='d8626fb6f9a3ab397d88c483b576be41fa81eefcec2fd18562c87626dbb3c39e' ;; 		armhf) goRelArch='linux-armv6l'; goRelSha256='6fdbc67524fc4c15fc87014869dddce9ecda7958b78f3cb1bbc5b0a9b61bfb95' ;; 		arm64) goRelArch='linux-arm64'; goRelSha256='0921a76e78022ec2ae217e85b04940e2e9912b4c3218d96a827deedb9abe1c7b' ;; 		i386) goRelArch='linux-386'; goRelSha256='10202da0b7f2a0f2c2ec4dd65375584dd829ce88ccc58e5fe1fa1352e69fecaf' ;; 		ppc64el) goRelArch='linux-ppc64le'; goRelSha256='9054bcc7582ebb8a69ca43447a38e4b9ea11d08f05511cc7f13720e3a12ff299' ;; 		s390x) goRelArch='linux-s390x'; goRelSha256='6f71b189c6cf30f7736af21265e992990cb0374138b7a70b0880cf8579399a69' ;; 		*) goRelArch='src'; goRelSha256='6faf74046b5e24c2c0b46e78571cca4d65e1b89819da1089e53ea57539c63491'; 			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
                        
# 2019-02-06 20:53:53  0.00B 
/bin/sh -c #(nop)  ENV GOLANG_VERSION=1.10.8
                        
# 2019-02-06 20:52:35  161.77MB 
/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/*
                        
# 2019-02-06 13:51:50  141.78MB 
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends 		bzr 		git 		mercurial 		openssh-client 		subversion 				procps 	&& rm -rf /var/lib/apt/lists/*
                        
# 2019-02-06 13:51:14  7.81MB 
/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
                        
# 2019-02-06 13:51:03  23.23MB 
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends 		ca-certificates 		curl 		netbase 		wget 	&& rm -rf /var/lib/apt/lists/*
                        
# 2019-02-06 11:30:02  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2019-02-06 11:30:01  100.61MB 
/bin/sh -c #(nop) ADD file:4fec879fdca802d6920b8981b409b19ded75aff693eaaba1ba4cf5ecb7594fdb in / 
                        
                    

镜像信息

{
    "Id": "sha256:6fd1f7edb6ab06a00b9d8a68836202042694651c5963f463afca8b76a693e099",
    "RepoTags": [
        "golang:1.10.8-stretch",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.10.8-stretch"
    ],
    "RepoDigests": [
        "golang@sha256:38d06fda52c0bb3682c0b373fe056ced88b70e8b297ea4da9fac661f5b13d71b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang@sha256:eac40ba14416262e26def90a2d6f10d6ff579ea61c267963f6cbfbbe63b0ea7b"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2019-02-06T12:54:14.832348012Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "18.06.1-ce",
    "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.10.8",
            "GOPATH=/go"
        ],
        "Cmd": [
            "bash"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:516341d7498b6813510c4c86a22e074bc61ee324d760c599d8138e47f229930e",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 760038543,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/afba2d3be4b78fb9b71f5375944d42a944dee42d4642ae405233e5aa163822c2/diff:/var/lib/docker/overlay2/84e921bff793286b6e5ba4d2b53b64dac37b7720e48db25c9c6f48969a25c6b5/diff:/var/lib/docker/overlay2/9640c64b056cfd4d04f3e5a4a415cc64639a248d577ae33e06208b885cf692b0/diff:/var/lib/docker/overlay2/cd81a4af4d1a855d3bc1fc3725cf7880c3181ae3572b69ccd3b246b54bc5628f/diff:/var/lib/docker/overlay2/c6d78c193ceecb25243ac06d73a57eeda0b93bdd20ddca0abcee1d93fb624273/diff:/var/lib/docker/overlay2/cc599c5e1df051e6b5d5a624d6ec06a9de42cfd69115c89ee2f1570b98e03a83/diff",
            "MergedDir": "/var/lib/docker/overlay2/291b76f88f9bdb6e6187dc2a4038e348c38b7eb888ff0b2240ae7c4be9b30c95/merged",
            "UpperDir": "/var/lib/docker/overlay2/291b76f88f9bdb6e6187dc2a4038e348c38b7eb888ff0b2240ae7c4be9b30c95/diff",
            "WorkDir": "/var/lib/docker/overlay2/291b76f88f9bdb6e6187dc2a4038e348c38b7eb888ff0b2240ae7c4be9b30c95/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:13d5529fd232cacdd8cd561148560e0bf5d65dbc1149faf0c68240985607c303",
            "sha256:abc3250a6c7ff22a6a366d9c175033ef0b2859f9d03676410c2f21d0fe568da4",
            "sha256:578414b395b98d02c5f284e83c8db080afcbbde8012478054af22df2edb9336d",
            "sha256:6257fa9f9597f43a167036d7bf748c5872c38803fa09e2493e119e512c6ac949",
            "sha256:77b4b6493272fcf3797f846518defabab8fc232e67752f42b5cc42d48542ce19",
            "sha256:facf15440126dde4d45bc8e8ede8fd04b2e06927b6d0bf2bea1d06c88ecd7bb1",
            "sha256:7b9a9415bf3ab2576e5354a153ecae7f62860dc967452eecbbaea85550f1210b"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-03T11:34:00.106973594+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
204

docker.io/golang:1.23-alpine

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

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
62

docker.io/golang:1.22.10

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

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
59

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