Dockerfile 是否可用于 Google Container Registry 上的 Google 示例映像? [英] Are Dockerfiles available for Google's sample images on Google Container Registry?

查看:28
本文介绍了Dockerfile 是否可用于 Google Container Registry 上的 Google 示例映像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为 Kubernetes 使用官方稳定的 ZooKeeper Helm 图表 它从 Google Container Registry 上的 Google 示例镜像中提取 ZooKeeper Docker 镜像.

I'm using the official stable ZooKeeper Helm chart for Kubernetes which pulls a ZooKeeper Docker image from Google's sample images on Google Container Registry.

该 ZooKeeper 映像可用 here,但是,我似乎无法找到对 Dockerfile 的任何参考,了解它的构建方式,或者它的 Dockerfile 是否是从其他一些表示生成的(例如,通过 Bazel).我想知道图像上还安装了什么信息,它基于什么操作系统等.

That ZooKeeper image is available here, however, I can't seem to find any reference to the Dockerfile for how it is built or if its Dockerfile is generated from some other representation (e.g., via Bazel). I'd like to know info like what else is installed on the image, what OS it's based on, etc.

一般来说,Google 示例映像的 Dockerfile 是否可以在 GCR 上公开托管?

In general are Dockerfiles for the Google sample images publicly hosted on GCR available?

特别是对于 ZooKeeper 镜像,我想确定它与 的比较Confluent 的 ZooKeeper 镜像:相似吗?它是否捆绑了一些额外的东西来在 Kubernetes 之上运行 ZooKeeper?等

For the ZooKeeper image specifically, I'd like to determine how it compares to Confluent's ZooKeeper image: is it similar? Does it bundle something extra for running ZooKeeper on top of Kubernetes? etc

到目前为止,我已经做了很多谷歌搜索,通读了 Google Container Registry文档,在 GitHub 上的 Google 组织搜索堆栈溢出,但找不到此信息.

So far I've done quite a bit of Googling, read through the Google Container Registry docs, poked around the Google org on GitHub, and searched Stack Overflow but haven't been able to locate this info.

推荐答案

请不要将 gcr.io/google-samples 中的图像用于生产用途.

Please do not use images from gcr.io/google-samples for production use.

这些图像仅用于 cloud.google.com 上的 GKE 教程,它们并未得到积极维护,因为我们不会针对图像上的组件等的安全漏洞重建它们.

These images are used solely for GKE tutorials on cloud.google.com and they are not actively maintained, in the sense that we don't rebuild them for security vulnerabilities for the components on the images etc.

部分图片的源代码位于 https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/.

Source codes for some of the images are at https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/.

这篇关于Dockerfile 是否可用于 Google Container Registry 上的 Google 示例映像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆