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

docker.io/golang:1-alpine - 国内下载镜像源 浏览次数:26
🎉
Go语言官方镜像
这是一个由 Docker Hub 提供的 Go 语言官方镜像,您可以基于这个镜像创建自己的 Go 项目容器。
源镜像 docker.io/golang:1-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1-alpine
镜像ID sha256:4147efcd34f7dae281e8ded205ff0386eb353af3316a7e69bd146c44f9923f7b
镜像TAG 1-alpine
大小 245.52MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 26 次
贡献者
镜像创建 2024-11-07T00:26:15Z
同步时间 2024-11-09 12:50
更新时间 2024-11-21 14:23
环境变量
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.23.3 GOTOOLCHAIN=local GOPATH=/go
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.20.3 扫描引擎: Trivy 扫描时间: 2024-11-09 12:51

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

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-11-07 08:26:15 WORKDIR /go
0.00B 2024-11-07 08:26:15 RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
237.20MB 2024-11-07 08:26:15 COPY /target/ / # buildkit
0.00B 2024-11-07 08:26:15 ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-11-07 08:26:15 ENV GOPATH=/go
0.00B 2024-11-07 08:26:15 ENV GOTOOLCHAIN=local
0.00B 2024-11-07 08:26:15 ENV GOLANG_VERSION=1.23.3
527.97KB 2024-11-07 08:26:15 RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit
0.00B 2024-09-07 06:20:07 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-09-07 06:20:07 /bin/sh -c #(nop) ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in /

镜像信息

{
    "Id": "sha256:4147efcd34f7dae281e8ded205ff0386eb353af3316a7e69bd146c44f9923f7b",
    "RepoTags": [
        "golang:1-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1-alpine"
    ],
    "RepoDigests": [
        "golang@sha256:09742590377387b931261cbeb72ce56da1b0d750a27379f7385245b2b058b63a",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang@sha256:e7da5d075ff7691fc0cd05fed5877fdd559d0fe9ae8bf9d0005319e9bde99092"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-07T00:26:15Z",
    "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.23.3",
            "GOTOOLCHAIN=local",
            "GOPATH=/go"
        ],
        "Cmd": [
            "/bin/sh"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 245524277,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/fd97d329e89bcbc48cb27d54ae4dea02e06ca78b605abcfdd5fac88a74553014/diff:/var/lib/docker/overlay2/648ad5e834b0a46023c35fd3b0aebda74c7cf2825f84e61c93b803b8f9a1a92b/diff:/var/lib/docker/overlay2/2a74c9f5d3120e6ef1ad67e51ae68215a45c482bf2aa886c2fd455f346c25575/diff:/var/lib/docker/overlay2/56dbc2212cbc9b991b1a93a72a8c08a3a8460c06576fe4f3267009446334aa65/diff",
            "MergedDir": "/var/lib/docker/overlay2/4c203abd1871f1c125e3ef5ec779ee69052e5dbd179fee6728abb2c8369b6581/merged",
            "UpperDir": "/var/lib/docker/overlay2/4c203abd1871f1c125e3ef5ec779ee69052e5dbd179fee6728abb2c8369b6581/diff",
            "WorkDir": "/var/lib/docker/overlay2/4c203abd1871f1c125e3ef5ec779ee69052e5dbd179fee6728abb2c8369b6581/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:63ca1fbb43ae5034640e5e6cb3e083e05c290072c5366fcaa9d62435a4cced85",
            "sha256:6b01a93e09f8b7a0ff2928314c897d9f8e77d8e940019bff71c9e37ab106d4cc",
            "sha256:df6b26069bf53d83be3ea2306bf4f84a36e5961dff42fde7fad6a332f37f11e7",
            "sha256:c231d4767c776f4ea55c6a45a8c8aaab4f02c726d0bc6562b61162a40a1255bb",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-09T12:50:02.332372153+08:00"
    }
}

更多版本

docker.io/golang:1.22.4-bookworm

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

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
302

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
158

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
133

docker.io/golang:1.23-alpine

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

docker.io/golang:1-alpine

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

docker.io/golang:1.23.1

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