docker.io/golang:alpine linux/amd64

docker.io/golang:alpine - 国内下载镜像源 浏览次数:678
🎉
Go语言官方镜像
这是一个由 Docker Hub 提供的 Go 语言官方镜像,您可以基于这个镜像创建自己的 Go 项目容器。
源镜像 docker.io/golang:alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:alpine
镜像ID sha256:a60a31a97fdb2c7eac5f46e5ab4cdd6e79fb96e960b520f9574a34fa163fa785
镜像TAG alpine
大小 230.61MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 678 次
贡献者
镜像创建 2024-07-02T19:33:45Z
同步时间 2024-07-16 11:03
更新时间 2024-11-21 16:09
环境变量
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:alpine
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:alpine  docker.io/golang:alpine

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:alpine && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:alpine  docker.io/golang: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
530.11KB 2024-07-03 03:33:45 RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit
0.00B 2024-06-21 04:16:58 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-06-21 04:16:57 /bin/sh -c #(nop) ADD file:33ebe56b967747a97dcec01bc2559962bee8823686c9739d26be060381bbb3ca in /

镜像信息

{
    "Id": "sha256:a60a31a97fdb2c7eac5f46e5ab4cdd6e79fb96e960b520f9574a34fa163fa785",
    "RepoTags": [
        "golang:alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:alpine"
    ],
    "RepoDigests": [
        "golang@sha256:8c9183f715b0b4eca05b8b3dbf59766aaedb41ec07477b132ee2891ac0110a07",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang@sha256:dc9300cedf39c4fc430f542c828e412caacb6ba1fbc27a32fc2981083b8d4519"
    ],
    "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": 230605128,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/529752a07aa674a1ce4003e1d5b4dbef8cac08398e7594be9604de8e319f3903/diff:/var/lib/docker/overlay2/c7afe1de3d13022bf858e4da387fee7751c9e80e63cdbe2b7187a8135ae8898e/diff:/var/lib/docker/overlay2/ac82b7f55d26d4115de909ab778095a9699bd90beda841db822e953f4f998edd/diff:/var/lib/docker/overlay2/984bb007f5969551b53fa1fce3296c2df39ab51a6831eab684250ac7efdbac0c/diff",
            "MergedDir": "/var/lib/docker/overlay2/18689a313a078aaf02ccf700360bf45eac5c007c60848fed5bab1d55ee33ab73/merged",
            "UpperDir": "/var/lib/docker/overlay2/18689a313a078aaf02ccf700360bf45eac5c007c60848fed5bab1d55ee33ab73/diff",
            "WorkDir": "/var/lib/docker/overlay2/18689a313a078aaf02ccf700360bf45eac5c007c60848fed5bab1d55ee33ab73/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:94e5f06ff8e3d4441dc3cd8b090ff38dc911bfa8ebdb0dc28395bc98f82f983f",
            "sha256:183686dec37ccd53814683e7d5284fc98c225dc66496be224496e4b579c42847",
            "sha256:03efbc301ddfd093c26664436038e18bda3ae48a7872d6ac01d5dfb06af403b3",
            "sha256:9e3f54e0dab8bad74c4c65406efb4a60846ed2ff9f2d1ab2e5c54bf3206f18e8",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-07-16T11:03:07.68189255+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
104

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