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

docker.io/golang:1.21-alpine - 国内下载镜像源 浏览次数:303
🎉
Go语言官方镜像
这是一个由 Docker Hub 提供的 Go 语言官方镜像,您可以基于这个镜像创建自己的 Go 项目容器。
源镜像 docker.io/golang:1.21-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.21-alpine
镜像ID sha256:c2321c7cf7210be837249dba0f3699fad6ddbb5718e70344b28c0d58feff4c0b
镜像TAG 1.21-alpine
大小 222.19MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/sh
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 303 次
贡献者
镜像创建 2024-08-06T18:15:43Z
同步时间 2024-09-02 17:07
更新时间 2024-11-21 12:13
环境变量
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.21.13 GOTOOLCHAIN=local GOPATH=/go

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

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

镜像信息

{
    "Id": "sha256:c2321c7cf7210be837249dba0f3699fad6ddbb5718e70344b28c0d58feff4c0b",
    "RepoTags": [
        "golang:1.21-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang:1.21-alpine"
    ],
    "RepoDigests": [
        "golang@sha256:2414035b086e3c42b99654c8b26e6f5b1b1598080d65fd03c7f499552ff4dc94",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golang@sha256:1e9c91cd6737d7b7742c13546b070a0d9c7b3711ba8764d155ce6c4db8cfb7f3"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-08-06T18:15:43Z",
    "Container": "",
    "ContainerConfig": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": null,
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": 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.21.13",
            "GOTOOLCHAIN=local",
            "GOPATH=/go"
        ],
        "Cmd": [
            "/bin/sh"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 222190826,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/81eeaaa2d9c53ae1a2280b9664db059ab5f8e4013c6faed6733f5dc4fc314979/diff:/var/lib/docker/overlay2/8e56420784ad401c0abc781269ff43ee012fa84a9e155a1cec332e8f4e4bb635/diff:/var/lib/docker/overlay2/ccbc99056fe5928b969c6b779e1ea032125fe89073b36c131dfc72e034172693/diff:/var/lib/docker/overlay2/e34c152dc3b7a746e8929ad9877dc53a72dbc68a2c874ba9ac2746666d943fdc/diff",
            "MergedDir": "/var/lib/docker/overlay2/7c0347e16a9d873f35a3efbd643d2a179eebc9e4e2555fd297e8c82691345a60/merged",
            "UpperDir": "/var/lib/docker/overlay2/7c0347e16a9d873f35a3efbd643d2a179eebc9e4e2555fd297e8c82691345a60/diff",
            "WorkDir": "/var/lib/docker/overlay2/7c0347e16a9d873f35a3efbd643d2a179eebc9e4e2555fd297e8c82691345a60/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:78561cef0761903dd2f7d09856150a6d4fb48967a8f113f3e33d79effbf59a07",
            "sha256:88c516a45d9a30811dc536dcbdbcc1b0b37079f0ca40fcdcbe1a1ccee2075e85",
            "sha256:b2b579346a71384801465cf5cbf972d90cd3ce73224e650b0a78c70752255ef4",
            "sha256:2ccb0e4e62fdd4cd4c3576295cf4384bf8b5c30c7f83b9d286d47eda60dc1765",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-02T09:07:00.89204487Z"
    }
}

更多版本

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
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
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