docker.io/golang:1.22.5-bullseye linux/amd64

docker.io/golang:1.22.5-bullseye - 国内下载镜像源 浏览次数:17
🎉
Go语言官方镜像
这是一个由 Docker Hub 提供的 Go 语言官方镜像,您可以基于这个镜像创建自己的 Go 项目容器。
源镜像 docker.io/golang:1.22.5-bullseye
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.22.5-bullseye
镜像ID sha256:bba1b93ce143a994b265698647c3b8223774c6b02f25f98cb63182d55cf7b040
镜像TAG 1.22.5-bullseye
大小 754.34MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 17 次
贡献者
镜像创建 2024-07-02T19:33:45Z
同步时间 2025-01-15 15:24
更新时间 2025-01-18 10:30
环境变量
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.22.5 GOTOOLCHAIN=local GOPATH=/go

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-07-03 03:33:45  0.00B 设置工作目录为/go
WORKDIR /go
                        
# 2024-07-03 03:33:45  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
                        
# 2024-07-03 03:33:45  222.28MB 复制新文件或目录到容器中
COPY /target/ / # buildkit
                        
# 2024-07-03 03:33:45  0.00B 设置环境变量 PATH
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-07-03 03:33:45  0.00B 设置环境变量 GOPATH
ENV GOPATH=/go
                        
# 2024-07-03 03:33:45  0.00B 设置环境变量 GOTOOLCHAIN
ENV GOTOOLCHAIN=local
                        
# 2024-07-03 03:33:45  0.00B 设置环境变量 GOLANG_VERSION
ENV GOLANG_VERSION=1.22.5
                        
# 2024-07-03 03:33:45  227.20MB 执行命令并创建新的镜像层
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-07-03 03:33:45  151.99MB 
/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-07-03 03:33:45  28.61MB 
/bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		curl 		gnupg 		netbase 		wget 	; 	rm -rf /var/lib/apt/lists/*
                        
# 2024-07-03 03:33:45  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2024-07-03 03:33:45  124.26MB 
/bin/sh -c #(nop) ADD file:61c91b2a02e0d3deb2364da03241d137acf78345623ae188082e574b043032a0 in / 
                        
                    

镜像信息

{
    "Id": "sha256:bba1b93ce143a994b265698647c3b8223774c6b02f25f98cb63182d55cf7b040",
    "RepoTags": [
        "golang:1.22.5-bullseye",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.22.5-bullseye"
    ],
    "RepoDigests": [
        "golang@sha256:583d5af8289d30de50aa0dcf4985d8b8746e52622becd6e1a62cfe191d5275a5",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang@sha256:a0d0eb223cbbd695d1fa606c4b946bdf934c03ed9334269f5a0d1752f3f9418b"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-02T19:33:45Z",
    "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.5",
            "GOTOOLCHAIN=local",
            "GOPATH=/go"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 754338364,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/2cb4c2bf76c5c8502ce1b1b470302f6137ff22c61da1e33caf4468c45cc2a922/diff:/var/lib/docker/overlay2/fb2cddfd2c0bfde256753bbb23b379873f5d250092b709f593095892a01f3ff2/diff:/var/lib/docker/overlay2/8f222fe5925b34e0b8703e5192d803890e232d5e1a233f8e2e7c9c2b77fc8141/diff:/var/lib/docker/overlay2/003d89d314afe14e02be90e66ed025e896049d3f27c07d131cc2883845f664ef/diff:/var/lib/docker/overlay2/0fac20a3c2f985b706145b0a703bd3c4312fbc7c997c299d999d3cde8cb82b6c/diff:/var/lib/docker/overlay2/c56b06c8b790c06d92b9ba8843c92dafff9e0955c7475d27b7d23e15f0467d40/diff",
            "MergedDir": "/var/lib/docker/overlay2/b439de1a617e1976e4141f712ad28be76cb63f451d607153cbfb081e6ea53532/merged",
            "UpperDir": "/var/lib/docker/overlay2/b439de1a617e1976e4141f712ad28be76cb63f451d607153cbfb081e6ea53532/diff",
            "WorkDir": "/var/lib/docker/overlay2/b439de1a617e1976e4141f712ad28be76cb63f451d607153cbfb081e6ea53532/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:02e8a3b9f985795e4d7fafbc9c04c1cfad862d61e45b8c855503e0b5045d9fe5",
            "sha256:05aace10eac5fc702633ffec28da17bf251ef59541408afc2ab10921cf16b3ae",
            "sha256:fa96b7dd765554455feefc1991936ac634972b028ff64e5906df933fa7bcdb4a",
            "sha256:deee9dc84075055e58b21a693ec90906febfacd99b94f57d4c07a3dfc8c1ca26",
            "sha256:03efbc301ddfd093c26664436038e18bda3ae48a7872d6ac01d5dfb06af403b3",
            "sha256:0032f58678bebd1ae33a0a87020eefd3624dcddef963da49628f2e397f49157b",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-15T15:24:31.52374151+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
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
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
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
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