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

docker.io/golang:1.22.5-alpine - 国内下载镜像源 浏览次数:104
🎉
Go语言官方镜像
这是一个由 Docker Hub 提供的 Go 语言官方镜像,您可以基于这个镜像创建自己的 Go 项目容器。
源镜像 docker.io/golang:1.22.5-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.22.5-alpine
镜像ID sha256:0f132aac134a24dc4a7c5fb004654a3118de7d28e71e2b46629abd85fd6a56a1
镜像TAG 1.22.5-alpine
大小 230.60MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 104 次
贡献者 ad**n@boychai.xyz
镜像创建 2024-07-02T19:33:45Z
同步时间 2024-10-12 15:35
更新时间 2024-11-19 20:23
环境变量
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
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.20.2 扫描引擎: Trivy 扫描时间: 2024-10-27 05:48

低危漏洞:2 中危漏洞:40 高危漏洞:19 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#golang:1.22.5-alpine#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.22.5-alpine#' 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-alpine && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.22.5-alpine  docker.io/golang:1.22.5-alpine'

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-07-03 03:33:45 WORKDIR /go
0.00B 2024-07-03 03:33:45 RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
222.28MB 2024-07-03 03:33:45 COPY /target/ / # buildkit
0.00B 2024-07-03 03:33:45 ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-07-03 03:33:45 ENV GOPATH=/go
0.00B 2024-07-03 03:33:45 ENV GOTOOLCHAIN=local
0.00B 2024-07-03 03:33:45 ENV GOLANG_VERSION=1.22.5
527.97KB 2024-07-03 03:33:45 RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit
0.00B 2024-07-03 03:33:45 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-07-03 03:33:45 /bin/sh -c #(nop) ADD file:99093095d62d0421541d882f9ceeddb2981fe701ec0aa9d2c08480712d5fed21 in /

镜像信息

{
    "Id": "sha256:0f132aac134a24dc4a7c5fb004654a3118de7d28e71e2b46629abd85fd6a56a1",
    "RepoTags": [
        "golang:1.22.5-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.22.5-alpine"
    ],
    "RepoDigests": [
        "golang@sha256:0d3653dd6f35159ec6e3d10263a42372f6f194c3dea0b35235d72aabde86486e",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang@sha256:765094ccddd7558f57c785d72064a27a5eca448bdd664d617fc9bc1c06ffb83a"
    ],
    "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": [
            "/bin/sh"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 230601932,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/aafeb95aeca418bca1e426204a476f8d3503924b56e2a1633f6b9299f8274096/diff:/var/lib/docker/overlay2/7e454184dcbbec49afc19db7fbae53abe1f701dc53de53229447e72889232cac/diff:/var/lib/docker/overlay2/f352bb305c065677146997e7067b154478e25bbf3e7866d127da45c3e06fd54f/diff:/var/lib/docker/overlay2/9e80283bb87118bc5d2b2a7bcbc539e0ffe7ffae790d06785a8aa879ebf163b9/diff",
            "MergedDir": "/var/lib/docker/overlay2/9020da0ba9e1e96aad03c838dd395859c66542feb431298d6d9a55874dda5698/merged",
            "UpperDir": "/var/lib/docker/overlay2/9020da0ba9e1e96aad03c838dd395859c66542feb431298d6d9a55874dda5698/diff",
            "WorkDir": "/var/lib/docker/overlay2/9020da0ba9e1e96aad03c838dd395859c66542feb431298d6d9a55874dda5698/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:78561cef0761903dd2f7d09856150a6d4fb48967a8f113f3e33d79effbf59a07",
            "sha256:5414b739f1485d8bac6bd050e747ce60aed8e986978768cea6a8222b7e1004bd",
            "sha256:03efbc301ddfd093c26664436038e18bda3ae48a7872d6ac01d5dfb06af403b3",
            "sha256:b046bf851387d69cbb7dea6ffd45bf82063010725cd1eadad493d247d8a37df8",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-12T15:35:29.062891007+08:00"
    }
}

更多版本

docker.io/golang:1.22.4-bookworm

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

docker.io/golang:1.22.4-alpine3.20

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

docker.io/golang:alpine

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

docker.io/golang:1.21-alpine

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

docker.io/golang:1.20.2

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

docker.io/golang:1.21

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

docker.io/golang:1.11

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

docker.io/golang:1.22.5-alpine

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

docker.io/golang:1.23.2-bullseye

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

docker.io/golang:1.23-alpine

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

docker.io/golang:1-alpine

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

docker.io/golang:1.23.1

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