docker.io/library/golang:1.22.1-alpine linux/amd64

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

Go语言官方镜像

源镜像 docker.io/library/golang:1.22.1-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.22.1-alpine
镜像ID sha256:831469dae6b59ba5d36fe380311613b697d057b41a1ba94c6ce9d9caa7e4702c
镜像TAG 1.22.1-alpine
大小 230.14MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 22 次
贡献者
镜像创建 2024-03-05T18:08:28Z
同步时间 2025-01-14 00:27
更新时间 2025-01-17 08:58
环境变量
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.22.1 GOTOOLCHAIN=local GOPATH=/go

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-03-06 02:08:28  0.00B 设置工作目录为/go
WORKDIR /go
                        
# 2024-03-06 02:08:28  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
                        
# 2024-03-06 02:08:28  222.25MB 复制新文件或目录到容器中
COPY /usr/local/go/ /usr/local/go/ # buildkit
                        
# 2024-03-06 02:08:28  0.00B 设置环境变量 PATH
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-03-06 02:08:28  0.00B 设置环境变量 GOPATH
ENV GOPATH=/go
                        
# 2024-03-06 02:08:28  0.00B 设置环境变量 GOTOOLCHAIN
ENV GOTOOLCHAIN=local
                        
# 2024-03-06 02:08:28  0.00B 设置环境变量 GOLANG_VERSION
ENV GOLANG_VERSION=1.22.1
                        
# 2024-03-06 02:08:28  516.66KB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit
                        
# 2024-01-27 08:30:48  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2024-01-27 08:30:48  7.38MB 
/bin/sh -c #(nop) ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in / 
                        
                    

镜像信息

{
    "Id": "sha256:831469dae6b59ba5d36fe380311613b697d057b41a1ba94c6ce9d9caa7e4702c",
    "RepoTags": [
        "golang:1.22.1-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang:1.22.1-alpine"
    ],
    "RepoDigests": [
        "golang@sha256:0466223b8544fb7d4ff04748acc4d75a608234bf4e79563bff208d2060c0dd79",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/golang@sha256:89c315d402dcae8b1b25daa52379d5bac33610acf0389f163321572983da95e9"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-03-05T18:08:28Z",
    "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.1",
            "GOTOOLCHAIN=local",
            "GOPATH=/go"
        ],
        "Cmd": [
            "/bin/sh"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 230138949,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/30f677f52c538528eebb40c4b4509cbd1b1af06b467f65b5d797ca0047a1bde1/diff:/var/lib/docker/overlay2/5c25c3d252f011b0d0f980b29bda3e6cd197387bebf04de59ff76f339da09bad/diff:/var/lib/docker/overlay2/85cd0e080baca90cd4789e1912a7425299ff341e48a12a004e833b0496f7825c/diff:/var/lib/docker/overlay2/b1d116e8b759168d194203087a62cfff9c48e803fd0e46cbf6b2ddbfd170dcba/diff",
            "MergedDir": "/var/lib/docker/overlay2/3f6a0985c75cc0cce783d4ae094a97af6997c0a49f8a0324e65e5617212866d9/merged",
            "UpperDir": "/var/lib/docker/overlay2/3f6a0985c75cc0cce783d4ae094a97af6997c0a49f8a0324e65e5617212866d9/diff",
            "WorkDir": "/var/lib/docker/overlay2/3f6a0985c75cc0cce783d4ae094a97af6997c0a49f8a0324e65e5617212866d9/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:d4fc045c9e3a848011de66f34b81f052d4f2c15a17bb196d637e526349601820",
            "sha256:2aff947541b55abfc4a505830b497f85e08774462a64b4cae3253cd90082bfc1",
            "sha256:f3182d36a09166a3512c224cce18e4a6d0a70a0f158d188c58fabda3ec9cfcf2",
            "sha256:b7ad25a9bab873eb459f77a93a911743def8f853b139e200af58b1560f393c64",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-14T00:27:25.980580574+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
63

docker.io/library/golang:1.23.3-bookworm

linux/amd64 docker.io837.77MB2024-11-25 14:39
71

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
24

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
21